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

Annotation of /trunk/Compilers/sxf90.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23 - (hide annotations)
Mon Dec 14 15:25:16 2009 UTC (14 years, 6 months ago) by guez
File size: 1136 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 19 # makefile for LMDZE.
3 guez 3
4 guez 19 # For "sxf90" 2.0
5 guez 3
6     FC = sxf90
7    
8 guez 19 netcdf_inc_dir = /SXlocal/pub/netCDF/3.6.1/include
9     netcdf_lib_dir = /SXlocal/pub/netCDF/3.6.1/lib
10    
11 guez 23 numer_rec_dir = ${workdir}/lib/Numer_Rec_Lionel/x
12 guez 19 netcdf95_dir = ${workdir}/lib/NetCDF95_sxf90
13     IOIPSL_dir = ${workdir}/lib/IOIPSL_Lionel_am
14    
15 guez 3 # Include flags:
16 guez 19 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})
17 guez 3
18     # Other flags which do not affect run time performance:
19     lang_flags = -f4 -Nw -Wf "-msg b -msg d -msg o -s"
20    
21     # Flags which affect run time performance:
22 guez 19 perf_flags = -Cdebug -eP -eR -Pstack -Wf "-init heap=nan -init stack=nan -K a -M zdiv flovf fxovf inv setall -stmtid"
23 guez 3
24     # "-M flunf" produces an error in "jacobi"
25    
26     FFLAGS = ${inc_flags} ${perf_flags}
27     F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
28    
29 guez 19 LDFLAGS = -Wl "-f nan"
30 guez 3 # "-Wl,-f nan" requires "-Wf,-K a"
31    
32 guez 19 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