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

Contents of /trunk/Compilers/xlf.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30 - (show annotations)
Thu Apr 1 09:07:28 2010 UTC (14 years, 1 month 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 # These are compiler dependent macros, meant to be included in the
2 # makefile for LMDZE.
3
4 # For IBM XL Fortran
5
6 FC = xlf95
7
8 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 # Include flags:
13 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
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 perf_flags = -qdbg -qfloat=nans -qfloat=nomaf:rndsngl:nofold -qflttrap=overflow:zerodivide:enable -qfullpath -qinitauto=7FBFFFFF -qnooptimize -qnosave -qsigtrap -qspillsize=1024
22
23 ##-O3 -qnostrict -qessl -qextchk
24 ## "-qflttrap=invalid" gives an error in "orografi.F"
25 ##-qcheck severe error in etat0
26 # "-qcheck -qextchk" give an error in module "mathelp", procedure
27 # "trans_buff", for a "gcm" run.
28
29 FFLAGS = ${inc_flags} -qfixed ${perf_flags}
30 F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
31
32 LDFLAGS =
33 ##-O3 -bnoquiet
34
35 LDLIBS = $(addprefix -L, ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnumer_rec ${NETCDF_LDFLAGS}
36
37 ##-lessl

  ViewVC Help
Powered by ViewVC 1.1.21