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

Annotation of /trunk/Compiler_options/sxf90.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 83 - (hide annotations)
Thu Mar 6 15:12:00 2014 UTC (10 years, 3 months ago) by guez
File size: 1086 byte(s)
In procedure conf_guide, replaced calls to getpar by reading a
namelist. Removed file getparam.f, now unused. So getin of IOIPSL is
now unused too. Removed files getincom.f, getincom2.f, cmpblank.f,
find_sig.f, gensig.f and nocomma.f.

Moved variables lat_min_guide and lat_max_guide from module
tau2alpha_m to module conf_guide_m.

Removed variables nivsig and nivsigs of module disvert_m. Instead, in
initdynav and initfluxsto, directly wrote arithmetic sequence for
verical axis, pending a better vertical axis. Removed variables nivsig
and nivsigs of "(re)?.start.nc".

In procedure exner_hyb, replaced p(:, :, 1) by equivalent ps.

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 guez 19 netcdf_inc_dir = /SXlocal/pub/netCDF/3.6.1/include
7     netcdf_lib_dir = /SXlocal/pub/netCDF/3.6.1/lib
8    
9 guez 23 numer_rec_dir = ${workdir}/lib/Numer_Rec_Lionel/x
10 guez 19 netcdf95_dir = ${workdir}/lib/NetCDF95_sxf90
11     IOIPSL_dir = ${workdir}/lib/IOIPSL_Lionel_am
12    
13 guez 3 # Include flags:
14 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})
15 guez 3
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 guez 19 perf_flags = -Cdebug -eP -eR -Pstack -Wf "-init heap=nan -init stack=nan -K a -M zdiv flovf fxovf inv setall -stmtid"
21 guez 3
22     # "-M flunf" produces an error in "jacobi"
23    
24 guez 83 FFLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
25 guez 3
26 guez 19 LDFLAGS = -Wl "-f nan"
27 guez 3 # "-Wl,-f nan" requires "-Wf,-K a"
28    
29 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