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

Annotation of /trunk/Compilers/xlf95.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23 - (hide annotations)
Mon Dec 14 15:25:16 2009 UTC (14 years, 5 months ago) by guez
Original Path: trunk/Compilers/xlf.mk
File size: 1204 byte(s)
Split "orografi.f": one file for each procedure. Put the created files
in new directory "Orography".

Removed argument "vcov" of procedure "sortvarc". Removed arguments
"itau" and "time" of procedure "caldyn0". Removed arguments "itau",
"time" and "vcov" of procedure "sortvarc0".

Removed argument "time" of procedure "dynredem1". Removed NetCDF
variable "temps" in files "start.nc" and "restart.nc", because its
value is always 0.

Removed argument "nq" of procedures "iniadvtrac" and "leapfrog". The
number of "tracers read in "traceur.def" must now be equal to "nqmx",
or "nqmx" must equal 4 if there is no file "traceur.def". Replaced
variable "nq" by constant "nqmx" in "leapfrog".

NetCDF variable for ozone field in "coefoz.nc" must now be called
"tro3" instead of "r".

Fixed bug in "zenang".

1 guez 3 # These are compiler dependent macros, meant to be included in the
2 guez 23 # makefile for LMDZE.
3 guez 3
4     # For XL Fortran
5    
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 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