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

Annotation of /trunk/Compilers/xlf.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30 - (hide annotations)
Thu Apr 1 09:07:28 2010 UTC (14 years, 2 months ago) by guez
File size: 1307 byte(s)
Imported Source files of the external library "IOIPSL_Lionel" into
"libf/IOIPSL".

Split "cray.f90" into "scopy.f90" and "ssum.f90".

Rewrote "leapfrog" in order to have a clearer algorithmic structure.

1 guez 3 # These are compiler dependent macros, meant to be included in the
2 guez 23 # makefile for LMDZE.
3 guez 3
4 guez 30 # For IBM XL Fortran
5 guez 3
6     FC = xlf95
7    
8 guez 23 numer_rec_dir = ${workdir}/lib/Numer_Rec_Lionel_v
9     netcdf95_dir = ${workdir}/lib/NetCDF95
10     IOIPSL_dir = ${workdir}/lib/IOIPSL_Lionel_ar
11    
12 guez 3 # Include flags:
13 guez 23 inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/dyn3d ${libf_dir}/phylmd ${libf_dir}/filtrez ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) ${NETCDF_FFLAGS}
14 guez 3
15     # Other flags which do not affect run time performance:
16     lang_flags = -qlanglvl=95pure -qnodirective -qnoescape -qsuppress=1520-050 -qwarn64
17    
18     ##-qattr=full -qxref=full
19    
20     # Flags which affect run time performance:
21 guez 23 perf_flags = -qdbg -qfloat=nans -qfloat=nomaf:rndsngl:nofold -qflttrap=overflow:zerodivide:enable -qfullpath -qinitauto=7FBFFFFF -qnooptimize -qnosave -qsigtrap -qspillsize=1024
22 guez 3
23     ##-O3 -qnostrict -qessl -qextchk
24     ## "-qflttrap=invalid" gives an error in "orografi.F"
25 guez 23 ##-qcheck severe error in etat0
26 guez 30 # "-qcheck -qextchk" give an error in module "mathelp", procedure
27     # "trans_buff", for a "gcm" run.
28 guez 3
29     FFLAGS = ${inc_flags} -qfixed ${perf_flags}
30     F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
31    
32     LDFLAGS =
33     ##-O3 -bnoquiet
34    
35 guez 23 LDLIBS = $(addprefix -L, ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnumer_rec ${NETCDF_LDFLAGS}
36 guez 3
37     ##-lessl

  ViewVC Help
Powered by ViewVC 1.1.21