source: branches/UKMO/dev_r5518_DMP_TOOLS/NEMOGCM/ARCH/arch-PW7_C2A_XIO.fcm @ 10197

Last change on this file since 10197 was 4865, checked in by smasson, 6 years ago

add CPP definition in arch files

File size: 1.8 KB
Line 
1# POWER 6 at ECMWF
2#
3# NCDF_INC    netcdf4 include file
4# NCDF_LIB    netcdf4 library
5# XIOS_INC    xios include file    (taken into accound only if key_iomput is activated)
6# XIOS_LIB    xios library         (taken into accound only if key_iomput is activated)
7#
8# FC          Fortran compiler command
9# FCFLAGS     Fortran compiler flags
10# FFLAGS      Fortran 77 compiler flags
11# LD          linker
12# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
13# FPPFLAGS    pre-processing flags
14# AR          assembler
15# ARFLAGS     assembler flags
16# MK          make 
17# USER_INC    complete list of include files
18# USER_LIB    complete list of libraries to pass to the linker
19#
20# Note that:
21#  - unix variables "$..." are accpeted and will be evaluated before calling fcm.
22#  - fcm variables are starting with a % (and not a $)
23#
24#options:
25#
26#debug   : g -C -qinitauto=7FBFFFFF -qfloat=nans -qflttrap=overflow:underflow:zerodivide:invalid:enable
27#portage : -qsource
28#format  : -qfree=f90 -qfixed -qsuffix=f=f90 -qsuffix=cpp=F90
29#others  : -qmaxmem=-1 -qsave -qlargepage
30#
31%NCDF_INC            -I${NETCDF_INC1}
32%NCDF_LIB            -L${NETCDF_LIB1} -lnetcdff -lnetcdf -L${HDF5_LIB} -lhdf5_hl -lhdf5 -lz
33%XIOS_INC            -I${XIOS_INC}
34%XIOS_LIB            -L${XIOS_LIB} -lxios
35
36%XLF90_LIB           -lxlf90_r
37
38%CPP               cpp
39%FC                  mpxlf90_r
40%FCFLAGS             -qsuffix=f=f90 -qsuffix=cpp=F90 -qfree=f90 -O3 -qrealsize=8 -qarch=auto -qtune=auto -qinitauto
41%FFLAGS              -qsuffix=f=f90 -qsuffix=cpp=F90 -qfixed    -O3 -qrealsize=8 -qarch=auto -qtune=auto -qinitauto
42%LD                  mpCC_r
43%FPPFLAGS
44%LDFLAGS             -O2
45%AR                  ar 
46%ARFLAGS             -r
47%MK                  gmake
48%USER_INC            %XIOS_INC %NCDF_INC
49%USER_LIB            %XIOS_LIB %NCDF_LIB %XLF90_LIB
Note: See TracBrowser for help on using the repository browser.