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

Annotation of /trunk/Compilers/g95.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20 - (hide annotations)
Wed Oct 15 16:19:57 2008 UTC (15 years, 7 months ago) by guez
File size: 1209 byte(s)
Deleted argument "presnivs" of "physiq", "ini_histhf", "ini_histhf3d",
"ini_histday", "ini_histins", "ini_histrac", "phytrac". Access it from
"comvert" instead.

Replaced calls to NetCDF Fortran 77 interface by calls to Fortran 90
interface or to NetCDF95.

Procedure "gr_phy_write_3d" now works with a variable of arbitrary
size in the second dimension.

Annotated use statements with "only" clause.

Replaced calls to NetCDF interface version 2 by calls to Fortran 90
interface in "guide.f90" and "read_reanalyse.f".

In "write_histrac", replaced calls to "gr_fi_ecrit" by calls to
"gr_phy_write_2d" and "gr_phy_write_3d".

1 guez 10 # These are compiler dependent macros, meant to be included in the
2     # makefile for LMDZE.
3 guez 3
4     # For G95 0.91
5    
6     FC = g95
7    
8 guez 12 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 guez 9
11 guez 20 numer_rec_dir = /home/guez_local/lib/Numer_Rec_Lionel/n
12 guez 12 netcdf95_dir = /home/guez_local/lib/NetCDF95/g95
13 guez 20 IOIPSL_dir = /home/guez_local/lib/IOIPSL_Lionel/an
14 guez 9
15 guez 3 # Include flags:
16 guez 10 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 guez 3
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 guez 9 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