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

source: utils/build/arch/MERCATOR/arch-X64_BELENOS_INTEL_IMPI.fcm @ 14875

Last change on this file since 14875 was 14875, checked in by gsamson, 3 years ago

update mercator arch files

File size: 2.7 KB
Line 
1# compiler options for BELENOS/TARANIS (using INTEL compiler)
2#
3# INTEL_IMPI (XIOS-2.5)
4# intel/2018.5.274 intelmpi/2018.5.274 phdf5/1.8.18 netcdf_par/4.7.1_V2 xios-2.5_rev1903
5#
6# INTEL_IMPI (XIOS-TRUNK must be compiled)
7# gcc/9.2.0 intel/2018.5.274 intelmpi/2018.5.274 phdf5/1.8.18 netcdf_par/4.7.1_V2
8#
9#
10# NCDF_INC    netcdf4 include file
11# NCDF_LIB    netcdf4 library
12# XIOS_INC    xios include file    (taken into accound only if key_xios is activated)
13# XIOS_LIB    xios library         (taken into accound only if key_xios is activated)
14# OASIS_INC   oasis include file   (taken into accound only if key_oasis3 is activated)
15# OASIS_LIB   oasis library        (taken into accound only if key_oasis3 is activated)
16#
17# FC          Fortran compiler command
18# FCFLAGS     Fortran compiler flags
19# FFLAGS      Fortran 77 compiler flags
20# LD          linker
21# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries
22# FPPFLAGS    pre-processing flags
23# AR          assembler
24# ARFLAGS     assembler flags
25# MK          make
26# USER_INC    complete list of include files
27# USER_LIB    complete list of libraries to pass to the linker
28# CC          C compiler used to compile conv for AGRIF
29# CFLAGS      compiler flags used with CC
30#
31# Note that:
32#  - unix variables "$..." are accpeted and will be evaluated before calling fcm.
33#  - fcm variables are starting with a % (and not a $)
34#
35#---------------------------------------------------------------------------------------------
36#---------------------------------------------------------------------------------------------
37# All NETCDF and HDF paths are empty as they are automatically defined through environment
38# variables by the load of modules
39#---------------------------------------------------------------------------------------------
40#---------------------------------------------------------------------------------------------
41#
42#
43%NCDF_INC            -I${NETCDF_INC}
44%NCDF_LIB            -L${NETCDF_LIB} -lnetcdff -lnetcdf -L${PHDF5_LIB_DIR} -lhdf5_hl -lhdf5
45%XIOS_INC            -I${XIOS_INC}
46%XIOS_LIB            -L${XIOS_LIB} -lxios -lstdc++
47%OASIS_INC           -I${OASIS_DIR}/build/lib/mct -I${OASIS_DIR}/build/lib/psmile.MPI1
48%OASIS_LIB           -L${OASIS_DIR}/lib -lpsmile.MPI1 -lmct -lmpeu -lscrip
49
50%CPP                 cpp
51%FC                  mpiifort -c -cpp
52%FCFLAGS             -march=core-avx2 -i4 -r8 -O3 -fp-model strict -fno-alias -align array64byte
53%FFLAGS              %FCFLAGS
54%LD                  mpiifort
55%LDFLAGS             
56%FPPFLAGS            -P -traditional
57%AR                  ar
58%ARFLAGS             rs
59%MK                  gmake
60%USER_INC            %XIOS_INC %OASIS_INC %NCDF_INC
61%USER_LIB            %XIOS_LIB %OASIS_LIB %NCDF_LIB
62
63%CC                  mpiicc
64%CFLAGS              -O0
Note: See TracBrowser for help on using the repository browser.