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

Diff of /trunk/Compilers/xlf.mk

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

revision 3 by guez, Wed Feb 27 13:16:39 2008 UTC revision 23 by guez, Mon Dec 14 15:25:16 2009 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  # LMDZE makefile.  # makefile for LMDZE.
3    
4  # For XL Fortran  # For XL Fortran
5    
 COMPILE.f = $(FC) $(F90FLAGS) -c  
6  FC = xlf95  FC = xlf95
7    
8    numer_rec_dir =  ${workdir}/lib/Numer_Rec_Lionel_v
9    netcdf95_dir = ${workdir}/lib/NetCDF95
10    IOIPSL_dir = ${workdir}/lib/IOIPSL_Lionel_ar
11    
12  # Include flags:  # Include flags:
13  inc_flags = -I${libf_dir} -I${libf_dir}/dyn3d -I${libf_dir}/phylmd -I${libf_dir}/filtrez -I${workdir}/IOIPSL_Lionel_y ${NETCDF} -I${workdir}/Numer_Rec_Lionel  inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/dyn3d ${libf_dir}/phylmd ${libf_dir}/filtrez ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) ${NETCDF_FFLAGS}
14    
15  # Other flags which do not affect run time performance:  # Other flags which do not affect run time performance:
16  lang_flags = -qlanglvl=95pure -qnodirective -qnoescape -qsuppress=1520-050 -qwarn64  lang_flags = -qlanglvl=95pure -qnodirective -qnoescape -qsuppress=1520-050 -qwarn64
# Line 15  lang_flags = -qlanglvl=95pure -qnodirect Line 18  lang_flags = -qlanglvl=95pure -qnodirect
18  ##-qattr=full -qxref=full  ##-qattr=full -qxref=full
19    
20  # Flags which affect run time performance:  # Flags which affect run time performance:
21  perf_flags = -qcheck -qdbg -qfloat=nans -qfloat=nomaf:rndsngl:nofold -qflttrap=overflow:zerodivide:enable -qfullpath -qinitauto=7FBFFFFF -qnooptimize -qnosave -qsigtrap -qspillsize=1024  perf_flags = -qdbg -qfloat=nans -qfloat=nomaf:rndsngl:nofold -qflttrap=overflow:zerodivide:enable -qfullpath -qinitauto=7FBFFFFF -qnooptimize -qnosave -qsigtrap -qspillsize=1024
22    
23  ##-O3 -qnostrict -qessl -qextchk  ##-O3 -qnostrict -qessl -qextchk
24  ## "-qflttrap=invalid" gives an error in "orografi.F"  ## "-qflttrap=invalid" gives an error in "orografi.F"
25    ##-qcheck severe error in etat0
26    
27  FFLAGS = ${inc_flags} -qfixed ${perf_flags}  FFLAGS = ${inc_flags} -qfixed ${perf_flags}
28  F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}  F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
# Line 26  F90FLAGS = ${inc_flags} ${lang_flags} ${ Line 30  F90FLAGS = ${inc_flags} ${lang_flags} ${
30  LDFLAGS =  LDFLAGS =
31  ##-O3 -bnoquiet  ##-O3 -bnoquiet
32    
33  LDLIBS = -L${workdir}/IOIPSL_Lionel_y -lioipsl -L${workdir}/Numer_Rec_Lionel -lnumer_rec -L/usr/local/pub/lib -lnetcdf  LDLIBS = $(addprefix -L, ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnumer_rec ${NETCDF_LDFLAGS}
34    
35  ##-lessl  ##-lessl

Legend:
Removed from v.3  
changed lines
  Added in v.23

  ViewVC Help
Powered by ViewVC 1.1.21