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

Diff of /trunk/Compilers/pgf95_debug.mk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/Compilers/pgf95.mk revision 70 by guez, Thu Jul 26 14:37:37 2012 UTC trunk/Compilers/pgf95_debug.mk revision 71 by guez, Mon Jul 8 18:12:18 2013 UTC
# Line 1  Line 1 
1  # These are compiler dependent macros, meant to be included in the  # These are compiler dependent macros, meant to be included in the
2  # makefile for LMDZE.  # makefile for LMDZE.
3    
4  # For pgf95 version 7  netcdf_inc_dir = /opt/netcdf3/pgf/include
5    netcdf_lib_dir = /opt/netcdf3/pgf/lib
6    
7  netcdf_inc_dir = /usr/local/netcdf-pgi/include  numer_rec_95_dir = /data/guez/lib/Numer_Rec_95_pgf95_debug
8  netcdf_lib_dir = /usr/local/netcdf-pgi/lib  nr_util_dir = /data/guez/lib/NR_util_pgf95_debug
9    netcdf95_dir = /data/guez/lib/NetCDF95_pgf95_debug
10  numer_rec_dir = /home/guez_local/lib/Numer_Rec_Lionel/o  jumble_dir = /data/guez/lib/Jumble_pgf95_debug
 netcdf95_dir = /home/guez_local/lib/NetCDF95/pgf95  
 IOIPSL_dir = /home/guez_local/lib/IOIPSL_Lionel/ad  
11    
12  # Include flags:  # Include flags:
13  inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/phylmd ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir})  FFLAGS = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir})
14    
15    # Overall options:
16    FFLAGS += -Minform=inform
17    
18  # Other flags which do not affect run time performance:  # Optimization options:
19  lang_flags = -Mstandard -Minform=inform -Mfree -Minfo=all -Mallocatable=95 -Mbackslash  FFLAGS += -Mframe
20    
21  # Flags which affect run time performance:  # Debugging options:
22  perf_flags = -g -Kieee -Ktrap=fp -Mbounds -Mchkfpstk -Mchkptr -Mpgicoff  FFLAGS += -g -gopt -Mchkfpstk -Mchkptr -Mpgicoff
 ##-fastsse -O3  
23  # "-Mbounds" gives an error in module "mathelp", procedure "trans_buff",  # "-Mbounds" gives an error in module "mathelp", procedure "trans_buff",
24  # for a "gcm" run.  # for a "gcm" run.
25    
26  FFLAGS = ${inc_flags} ${perf_flags}  # Language options:
27  F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}  FFLAGS += -Mstandard -Mallocatable=95 -Mbackslash -Mdefaultunit -Mrecursive
28    
29    # Target-specific Options:
30    FFLAGS += -Kieee -Ktrap=fp
31    
32    F90FLAGS = ${FFLAGS}
33  LDFLAGS = -g  LDFLAGS = -g
34    
35  LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnetcdf -lnumer_rec  LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}) -ljumble -lnetcdf95 -lnetcdf -lnumer_rec_95 -lnr_util
36    
37    version_flag = -V

Legend:
Removed from v.70  
changed lines
  Added in v.71

  ViewVC Help
Powered by ViewVC 1.1.21