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

Annotation of /trunk/Compiler_options/xlf95.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 134 - (hide annotations)
Wed Apr 29 15:47:56 2015 UTC (9 years, 1 month ago) by guez
File size: 1249 byte(s)
Sources inside, compilation outside.
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 guez 23 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 guez 3 # Include flags:
11 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}
12 guez 3
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 guez 23 perf_flags = -qdbg -qfloat=nans -qfloat=nomaf:rndsngl:nofold -qflttrap=overflow:zerodivide:enable -qfullpath -qinitauto=7FBFFFFF -qnooptimize -qnosave -qsigtrap -qspillsize=1024
20 guez 3
21     ##-O3 -qnostrict -qessl -qextchk
22     ## "-qflttrap=invalid" gives an error in "orografi.F"
23 guez 23 ##-qcheck severe error in etat0
24 guez 30 # "-qcheck -qextchk" give an error in module "mathelp", procedure
25     # "trans_buff", for a "gcm" run.
26 guez 3
27 guez 83 FFLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
28 guez 3
29     LDFLAGS =
30     ##-O3 -bnoquiet
31    
32 guez 23 LDLIBS = $(addprefix -L, ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnumer_rec ${NETCDF_LDFLAGS}
33 guez 3
34     ##-lessl

  ViewVC Help
Powered by ViewVC 1.1.21