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

Annotation of /trunk/Compilers/g95.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9 - (hide annotations)
Mon Mar 31 13:58:05 2008 UTC (16 years, 2 months ago) by guez
File size: 1140 byte(s)
New variables "*_dir" in "g95.mk".
Corrected some bugs: "etat0_lim" works, but not "gcm".

1 guez 3 # These are machine dependent macros, meant to be included in the
2     # LMDZE makefile
3    
4     # For G95 0.91
5    
6     FC = g95
7    
8 guez 9 netcdf_inc_dir = /home/guez/include/NetCDF_g95
9     netcdf_lib_dir = /home/guez/lib /home/guez/lib/NetCDF_g95
10    
11     numer_rec_dir = /home/guez/lib/Numer_Rec_Lionel/a
12     netcdf95_dir = /home/guez/lib/NetCDF95/g95
13     IOIPSL_dir = /home/guez/lib/IOIPSL_Lionel/ac
14    
15 guez 3 # Include flags:
16 guez 9 inc_flags =-I${libf_dir} -I${libf_dir}/dyn3d -I${libf_dir}/phylmd -I${libf_dir}/filtrez -I${netcdf_inc_dir} -I${numer_rec_dir} -I${netcdf95_dir} -I${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