New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
arch-PW7_C2A_XIO.fcm in branches/2013/dev_MERGE_2013/NEMOGCM/ARCH – NEMO

source: branches/2013/dev_MERGE_2013/NEMOGCM/ARCH/arch-PW7_C2A_XIO.fcm @ 4310

Last change on this file since 4310 was 4148, checked in by cetlod, 10 years ago

merge in trunk changes between r3853 and r3940 and commit the changes, see ticket #1169

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%FC                  mpxlf90_r
38%FCFLAGS             -qsuffix=f=f90 -qsuffix=cpp=F90 -qfree=f90 -O3 -qrealsize=8 -qarch=auto -qtune=auto -qinitauto
39%FFLAGS              -qsuffix=f=f90 -qsuffix=cpp=F90 -qfixed    -O3 -qrealsize=8 -qarch=auto -qtune=auto -qinitauto
40%LD                  mpCC_r
41%FPPFLAGS
42%LDFLAGS             -O2
43%AR                  ar 
44%ARFLAGS             -r
45%MK                  gmake
46%USER_INC            %XIOS_INC %NCDF_INC
47%USER_LIB            %XIOS_LIB %NCDF_LIB %XLF90_LIB
Note: See TracBrowser for help on using the repository browser.