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.
Changeset 3922 for trunk/NEMOGCM/ARCH/arch-PW7_C2A_XIO.fcm – NEMO

Ignore:
Timestamp:
2013-06-14T12:37:08+02:00 (11 years ago)
Author:
smasson
Message:

trunk:compilation enhancements, see ticket #1117

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/ARCH/arch-PW7_C2A_XIO.fcm

    r3917 r3922  
    11# POWER 6 at ECMWF 
    2 # NCDF_INC    netcdf include file 
    3 # NCDF_LIB    netcdf library 
     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# 
    48# FC          Fortran compiler command 
    59# FCFLAGS     Fortran compiler flags 
     
    1115# ARFLAGS     assembler flags 
    1216# MK          make   
    13 # USER_INC    additional include files for the compiler,  e.g. -I<include dir>  
    14 # USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
     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 $) 
    1523# 
    1624#options: 
     
    2129#others  : -qmaxmem=-1 -qsave -qlargepage  
    2230# 
    23 %NCDF_INC            -I$(NETCDF_INC1) 
    24 %NCDF_LIB            -L$(NETCDF_LIB1) -lnetcdf -lnetcdff -L$(HDF5_LIB) -lhdf5_hl -lhdf5 -lz 
    25 %XIOS_INC            -I$(XIOS_INC) 
    26 %XIOS_LIB            -L$(XIOS_LIB)  -lxios 
     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 
    2736%XLF90_LIB           -lxlf90_r 
    2837%FC                  mpxlf90_r 
Note: See TracChangeset for help on using the changeset viewer.