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

Last change on this file was 14560, checked in by lovato, 3 months ago

add arch file for CMCC cluster ZEUS using ifort and xios (arch-X64_ZEUS.fcm)

File size: 2.0 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
31#export XIOS=<path-to-xios>/xios
32
33%NCDF_INC            -I${NETCDF}/include -I${PNETCDF}/include
34%NCDF_LIB            -L${NETCDF}/lib -lnetcdff -lnetcdf -L${PNETCDF}/lib -lpnetcdf
35%HDF5_INC            -I${HDF5}/include
36%HDF5_LIB            -L${HDF5}/lib -lhdf5_hl -lhdf5
37%XIOS_INC            -I${XIOS}/inc
38%XIOS_LIB            -L${XIOS}/lib -lxios
39
40%CPP                 cpp
41%FC                  mpiifort
42%FCFLAGS             -r8 -O3 -fp-model source -traceback -mkl=cluster -xSKYLAKE-AVX512 -qopt-zmm-usage=low -no-fma
43%FFLAGS              %FCFLAGS
44%LD                  mpiifort
45%FPPFLAGS            -P -traditional
46%LDFLAGS             -lstdc++ -lz -lgpfs
47%AR                  ar
48%ARFLAGS             -r
49%MK                  gmake
50%USER_INC            %XIOS_INC %NCDF_INC %HDF5_INC
51%USER_LIB            %XIOS_LIB %NCDF_LIB %HDF5_LIB
52%CC                  icc
53%CFLAGS              -O0
Note: See TracBrowser for help on using the repository browser.