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-X64_ZEUS.fcm in utils/build/arch/CMCC – NEMO

source: utils/build/arch/CMCC/arch-X64_ZEUS.fcm

Last change on this file was 14965, checked in by lovato, 2 years ago

update setup information for X64_ZEUS

File size: 2.1 KB
Line 
1# mpi ifort compiler options for ZEUS cluster + XIOS
2#
3#
4# NCDF_INC    netcdf4 include file
5# NCDF_LIB    netcdf4 library
6# XIOS_INC    xios include file    (taken into accound only if key_iomput is activated)
7# XIOS_LIB    xios library         (taken into accound only if key_iomput is activated)
8#
9# CPP         Pre-processor
10# FC          Fortran compiler command
11# FCFLAGS     Fortran compiler flags
12# FFLAGS      Fortran 77 compiler flags
13# LD          linker
14# FPPFLAGS    pre-processing flags
15# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries
16# AR          assembler
17# ARFLAGS     assembler flags
18# MK          make (usually GNU make)
19# USER_INC    complete list of include files
20# USER_LIB    complete list of libraries to pass to the linker
21# CC          C compiler used to compile conv for AGRIF
22# CFLAGS      compiler flags used with CC
23#
24# Note that:
25#  - unix variables "$..." are accpeted and will be evaluated before calling fcm.
26#  - fcm variables are starting with a % (and not a $)
27#
28
29# NETCDF, PNETCDF, HDF5  should be set automatically when loading modules on ZEUS cluster
30# User should set the path of xios compiled code (after r2134)
31#export XIOS=<path-to-xios>/xios
32# and load the same gcc version used to compile xios (e.g., module load gcc_9.1.0/9.1.0)
33
34%NCDF_INC            -I${NETCDF}/include -I${PNETCDF}/include
35%NCDF_LIB            -L${NETCDF}/lib -lnetcdff -lnetcdf -L${PNETCDF}/lib -lpnetcdf
36%HDF5_INC            -I${HDF5}/include
37%HDF5_LIB            -L${HDF5}/lib -lhdf5_hl -lhdf5
38%XIOS_INC            -I${XIOS}/inc
39%XIOS_LIB            -L${XIOS}/lib -lxios
40
41%CPP                 cpp
42%FC                  mpiifort
43%FCFLAGS             -r8 -O3 -fp-model source -traceback -mkl=cluster -xSKYLAKE-AVX512 -qopt-zmm-usage=low -no-fma
44%FFLAGS              %FCFLAGS
45%LD                  mpiifort
46%FPPFLAGS            -P -traditional
47%LDFLAGS             -lstdc++ -lz -lgpfs
48%AR                  ar
49%ARFLAGS             -r
50%MK                  gmake
51%USER_INC            %XIOS_INC %NCDF_INC %HDF5_INC
52%USER_LIB            %XIOS_LIB %NCDF_LIB %HDF5_LIB
53%CC                  icc
54%CFLAGS              -O0
Note: See TracBrowser for help on using the repository browser.