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

Annotation of /trunk/Compilers/sxf90.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 19 - (hide annotations)
Thu Aug 7 15:46:20 2008 UTC (15 years, 10 months ago) by guez
File size: 1136 byte(s)
Inlined procedures "regr_pr_av" and "regr_pr_int" in "regr_pr_o3",
"regr_pr_av_coefoz" and "regr_pr_int_coefoz".

1 guez 3 # These are compiler dependent macros, meant to be included in the
2 guez 19 # makefile for LMDZE.
3 guez 3
4 guez 19 # For "sxf90" 2.0
5 guez 3
6     FC = sxf90
7    
8 guez 19 netcdf_inc_dir = /SXlocal/pub/netCDF/3.6.1/include
9     netcdf_lib_dir = /SXlocal/pub/netCDF/3.6.1/lib
10    
11     numer_rec_dir = ${workdir}/lib/Numer_Rec_Lionel/f
12     netcdf95_dir = ${workdir}/lib/NetCDF95_sxf90
13     IOIPSL_dir = ${workdir}/lib/IOIPSL_Lionel_am
14    
15 guez 3 # Include flags:
16 guez 19 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 = -f4 -Nw -Wf "-msg b -msg d -msg o -s"
20    
21     # Flags which affect run time performance:
22 guez 19 perf_flags = -Cdebug -eP -eR -Pstack -Wf "-init heap=nan -init stack=nan -K a -M zdiv flovf fxovf inv setall -stmtid"
23 guez 3
24     # "-M flunf" produces an error in "jacobi"
25    
26     FFLAGS = ${inc_flags} ${perf_flags}
27     F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
28    
29 guez 19 LDFLAGS = -Wl "-f nan"
30 guez 3 # "-Wl,-f nan" requires "-Wf,-K a"
31    
32 guez 19 LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnetcdf -lnumer_rec

  ViewVC Help
Powered by ViewVC 1.1.21