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

Contents of /trunk/Compiler_options/g95.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations)
Fri Apr 18 14:45:53 2008 UTC (16 years, 1 month ago) by guez
Original Path: trunk/Compilers/g95.mk
File size: 1167 byte(s)
Added NetCDF directory "/home/guez/include" in "g95.mk" and
"nag_tools.mk".

Added some "intent" attributes in "PVtheta", "advtrac", "caladvtrac",
"calfis", "diagedyn", "dissip", "vlspltqs", "aeropt", "ajsec",
"calltherm", "clmain", "cltrac", "cltracrn", "concvl", "conema3",
"conflx", "fisrtilp", "newmicro", "nuage", "diagcld1", "diagcld2",
"drag_noro", "lift_noro", "SUGWD", "physiq", "phytrac", "radlwsw", "thermcell".

Removed the case "ierr == 0" in "abort_gcm"; moved call to "histclo"
and messages for end of run from "abort_gcm" to "gcm"; replaced call
to "abort_gcm" in "leapfrog" by exit from outer loop.

In "calfis": removed argument "pp" and variable "unskap"; changed
"pksurcp" from scalar to rank 2; use "pressure_var"; rewrote
computation of "zplev", "zplay", "ztfi", "pcvgt" using "dyn_phy";
added computation of "pls".

Removed unused variable in "dynredem0".

In "exner_hyb": changed "dellta" from scalar to rank 1; replaced call
to "ssum" by call to "sum"; removed variables "xpn" and "xps";
replaced some loops by array expressions.

In "leapfrog": use "pressure_var"; deleted variables "p", "longcles".

Converted common blocks "YOECUMF", "YOEGWD" to modules.

Removed argument "pplay" in "cvltr", "diagetpq", "nflxtr".

Created module "raddimlw" from include file "raddimlw.h".

Corrected call to "new_unit" in "test_disvert".

1 # These are compiler dependent macros, meant to be included in the
2 # makefile for LMDZE.
3
4 # For G95 0.91
5
6 FC = g95
7
8 netcdf_inc_dir = /home/guez/include/NetCDF_g95 /home/guez/include
9 netcdf_lib_dir = /home/guez/lib /home/guez/lib/NetCDF_g95
10
11 numer_rec_dir = /home/guez/lib/Numer_Rec_Lionel/a
12 netcdf95_dir = /home/guez/lib/NetCDF95/g95
13 IOIPSL_dir = /home/guez/lib/IOIPSL_Lionel/ac
14
15 # Include flags:
16 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
18 # Other flags which do not affect run time performance:
19 lang_flags = -ffree-form -pedantic -std=f95 -Wall -Wextra -Wno=136,163,165
20 # Warning (136): Module variable is never used
21 # Warning (163): Actual argument does not have an INTENT
22 # Warning (165): Implicit interface
23
24 # Flags which affect run time performance:
25 perf_flags = -fbounds-check -freal=nan -ftrace=full -g -O0
26
27 FFLAGS = ${inc_flags} ${perf_flags}
28 F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
29
30 LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.21