/[lmdze]/trunk/Compiler_options/xlf95.mk
ViewVC logotype

Contents of /trunk/Compiler_options/xlf95.mk

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.21