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

Contents of /trunk/Compilers/g95.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30 - (show annotations)
Thu Apr 1 09:07:28 2010 UTC (14 years, 1 month ago) by guez
File size: 1078 byte(s)
Imported Source files of the external library "IOIPSL_Lionel" into
"libf/IOIPSL".

Split "cray.f90" into "scopy.f90" and "ssum.f90".

Rewrote "leapfrog" in order to have a clearer algorithmic structure.

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

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.21