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

Annotation of /trunk/Compilers/pgf95.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30 - (hide annotations)
Thu Apr 1 09:07:28 2010 UTC (14 years, 2 months 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 guez 27 # These are compiler dependent macros, meant to be included in the
2     # makefile for LMDZE.
3 guez 3
4 guez 30 # For pgf95 version 7
5 guez 3
6     FC = pgf95
7    
8 guez 27 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 guez 3 # Include flags:
16 guez 27 inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/phylmd ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir})
17 guez 3
18     # Other flags which do not affect run time performance:
19 guez 27 lang_flags = -Mstandard -Minform=inform -Mfree -Minfo=all -Mallocatable=95 -Mbackslash
20 guez 3
21     # Flags which affect run time performance:
22 guez 27 perf_flags = -g -Kieee -Ktrap=fp -Mbounds -Mchkfpstk -Mchkptr -Mpgicoff
23     ##-fastsse -O3
24 guez 30 # "-Mbounds" gives an error in module "mathelp", procedure "trans_buff",
25     # for a "gcm" run.
26 guez 3
27     FFLAGS = ${inc_flags} ${perf_flags}
28     F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
29 guez 27 LDFLAGS = -g
30 guez 3
31 guez 27 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