/[lmdze]/trunk/Compiler_options/g95.mk
ViewVC logotype

Contents of /trunk/Compiler_options/g95.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12 - (show annotations)
Mon Jul 21 16:05:07 2008 UTC (15 years, 10 months ago) by guez
Original Path: trunk/Compilers/g95.mk
File size: 1209 byte(s)
-- Minor modification of input/output:

Created procedure "read_logic". Variables of module "logic" are read
by "read_logic" instead of "conf_gcm". Variable "offline" of module
"conf_gcm" is read from namelist instead of "*.def".

Deleted arguments "dtime", "co2_ppm_etat0", "solaire_etat0",
"tabcntr0" and local variables "radpas", "tab_cntrl" of
"phyetat0". "phyetat0" does not read "controle" in "startphy.nc" any
longer. "phyetat0" now reads global attribute "itau_phy" from
"startphy.nc". "phyredem" does not create variable "controle" in
"startphy.nc" any longer. "phyredem" now writes global attribute
"itau_phy" of "startphy.nc". Deleted argument "tabcntr0" of
"printflag". Removed diagnostic messages written by "printflag" for
comparison of the variable "controle" of "startphy.nc" and the
variables read from "*.def" or namelist input.

-- Removing unwanted functionality:

Removed variable "lunout" from module "iniprint", replaced everywhere
by standard output.

Removed case "ocean == 'couple'" in "clmain", "interfsurf_hq" and
"physiq". Removed procedure "interfoce_cpl".

-- Should not change anything at run time:

Automated creation of graphs in documentation. More documentation on
input files.

Converted Fortran files to free format: "phyredem.f90", "printflag.f90".

Split module "clesphy" into "clesphys" and "clesphys2".

Removed variables "conser", "leapf", "forward", "apphys", "apdiss" and
"statcl" from module "logic". Added arguments "conser" to "advect",
"leapf" to "integrd". Added local variables "forward", "leapf",
"apphys", "conser", "apdiss" in "leapfrog".

Added intent attributes.

Deleted arguments "dtime" of "phyredem", "pdtime" of "flxdtdq", "sh"
of "phytrac", "dt" of "yamada".

Deleted local variables "dtime", "co2_ppm_etat0", "solaire_etat0",
"length", "tabcntr0" in "physiq". Replaced all references to "dtime"
by references to "pdtphys".

1 # These are compiler dependent macros, meant to be included in the
2 # makefile for LMDZE.
3
4 # For G95 0.91
5
6 FC = g95
7
8 netcdf_inc_dir = /home/guez_local/include/NetCDF_g95 /home/guez_local/include
9 netcdf_lib_dir = /home/guez_local/lib /home/guez_local/lib/NetCDF_g95
10
11 numer_rec_dir = /home/guez_local/lib/Numer_Rec_Lionel/a
12 netcdf95_dir = /home/guez_local/lib/NetCDF95/g95
13 IOIPSL_dir = /home/guez_local/lib/IOIPSL_Lionel/ac
14
15 # Include flags:
16 inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/dyn3d ${libf_dir}/phylmd ${libf_dir}/filtrez ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir})
17
18 # Other flags which do not affect run time performance:
19 lang_flags = -ffree-form -pedantic -std=f95 -Wall -Wextra -Wno=136,163,165
20 # Warning (136): Module variable is never used
21 # Warning (163): Actual argument does not have an INTENT
22 # Warning (165): Implicit interface
23
24 # Flags which affect run time performance:
25 perf_flags = -fbounds-check -freal=nan -ftrace=full -g -O0
26
27 FFLAGS = ${inc_flags} ${perf_flags}
28 F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
29
30 LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.21