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

Contents of /trunk/Compilers/sxf90.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 62 - (show annotations)
Thu Jul 26 14:37:37 2012 UTC (11 years, 9 months ago) by guez
File size: 1124 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 # These are compiler dependent macros, meant to be included in the
2 # makefile for LMDZE.
3
4 # For "sxf90" 2.0
5
6 netcdf_inc_dir = /SXlocal/pub/netCDF/3.6.1/include
7 netcdf_lib_dir = /SXlocal/pub/netCDF/3.6.1/lib
8
9 numer_rec_dir = ${workdir}/lib/Numer_Rec_Lionel/x
10 netcdf95_dir = ${workdir}/lib/NetCDF95_sxf90
11 IOIPSL_dir = ${workdir}/lib/IOIPSL_Lionel_am
12
13 # Include flags:
14 inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/dyn3d ${libf_dir}/phylmd ${libf_dir}/filtrez ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir})
15
16 # Other flags which do not affect run time performance:
17 lang_flags = -f4 -Nw -Wf "-msg b -msg d -msg o -s"
18
19 # Flags which affect run time performance:
20 perf_flags = -Cdebug -eP -eR -Pstack -Wf "-init heap=nan -init stack=nan -K a -M zdiv flovf fxovf inv setall -stmtid"
21
22 # "-M flunf" produces an error in "jacobi"
23
24 FFLAGS = ${inc_flags} ${perf_flags}
25 F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
26
27 LDFLAGS = -Wl "-f nan"
28 # "-Wl,-f nan" requires "-Wf,-K a"
29
30 LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnetcdf -lnumer_rec

  ViewVC Help
Powered by ViewVC 1.1.21