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

Annotation of /trunk/Compilers/xlf95.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 62 - (hide annotations)
Thu Jul 26 14:37:37 2012 UTC (11 years, 10 months ago) by guez
File size: 1295 byte(s)
Changed handling of compiler in compilation system.

Removed the prefix letters "y", "p", "t" or "z" in some names of variables.

Replaced calls to NetCDF by calls to NetCDF95.

Extracted "ioget_calendar" procedures from "calendar.f90" into a
separate file.

Extracted to a separate file, "mathop2.f90", procedures that were not
part of the generic interface "mathop" in "mathop.f90".

Removed computation of "dq" in "bilan_dyn", which was not used.

In "iniadvtrac", removed schemes 20 Slopes and 30 Prather. Was not
compatible with declarations of array sizes.

In "clcdrag", "ustarhb", "vdif_kcay", "yamada4" and "coefkz", changed
the size of some arrays from "klon" to "knon".

Removed possible call to "conema3" in "physiq".

Removed unused argument "cd" in "yamada".

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     FFLAGS = ${inc_flags} -qfixed ${perf_flags}
28     F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
29    
30     LDFLAGS =
31     ##-O3 -bnoquiet
32    
33 guez 23 LDLIBS = $(addprefix -L, ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnumer_rec ${NETCDF_LDFLAGS}
34 guez 3
35     ##-lessl

  ViewVC Help
Powered by ViewVC 1.1.21