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

Contents of /trunk/Compilers/pgf95.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: 1120 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 pgf95 version 7
5
6 FC = pgf95
7
8 netcdf_inc_dir = /usr/local/netcdf-pgi/include
9 netcdf_lib_dir = /usr/local/netcdf-pgi/lib
10
11 numer_rec_dir = /home/guez_local/lib/Numer_Rec_Lionel/o
12 netcdf95_dir = /home/guez_local/lib/NetCDF95/pgf95
13 IOIPSL_dir = /home/guez_local/lib/IOIPSL_Lionel/ad
14
15 # Include flags:
16 inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/phylmd ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir})
17
18 # Other flags which do not affect run time performance:
19 lang_flags = -Mstandard -Minform=inform -Mfree -Minfo=all -Mallocatable=95 -Mbackslash
20
21 # Flags which affect run time performance:
22 perf_flags = -g -Kieee -Ktrap=fp -Mbounds -Mchkfpstk -Mchkptr -Mpgicoff
23 ##-fastsse -O3
24 # "-Mbounds" gives an error in module "mathelp", procedure "trans_buff",
25 # for a "gcm" run.
26
27 FFLAGS = ${inc_flags} ${perf_flags}
28 F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
29 LDFLAGS = -g
30
31 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