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

source: utils/build/arch/NOC/arch-X64_MOBILIS_DEBUG.fcm @ 15814

Last change on this file since 15814 was 14242, checked in by smasson, 3 years ago

trunk: replace key_iomput by key_xios

File size: 3.0 KB
Line 
1# Mobilis - ClusterVision X86_64 cluster at NOCS
2#---------------------------------------------------------------------
3#  REMEMBER TO LOAD THE CORRECT ENVIRONMENT BEFORE INVOKING makenemo #
4#---------------------------------------------------------------------
5#
6#  Works with nemo-PrgEnv modules on Mobilis
7#    module use /home/acc/MyMods
8#  and either:
9#
10#    module load nemo-PrgEnv/4.0
11#  or
12#    module load nemo-PrgEnv/3.6
13#
14#---------------------------------------------------------------------
15# NCDF_HOME   root directory containing lib and include subdirectories for netcdf4
16# HDF5_HOME   root directory containing lib and include subdirectories for HDF5
17# XIOS_HOME   root directory containing lib for XIOS
18# OASIS_HOME  root directory containing lib for OASIS
19#
20# NCDF_INC    netcdf4 include file
21# NCDF_LIB    netcdf4 library
22# XIOS_INC    xios include file    (taken into accound only if key_xios is activated)
23# XIOS_LIB    xios library         (taken into accound only if key_xios is activated)
24# OASIS_INC   oasis include file   (taken into accound only if key_oasis3 is activated)
25# OASIS_LIB   oasis library        (taken into accound only if key_oasis3 is activated)
26#
27# FC          Fortran compiler command
28# FCFLAGS     Fortran compiler flags
29# FFLAGS      Fortran 77 compiler flags
30# LD          linker
31# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries
32# FPPFLAGS    pre-processing flags
33# AR          assembler
34# ARFLAGS     assembler flags
35# MK          make
36# USER_INC    complete list of include files
37# USER_LIB    complete list of libraries to pass to the linker
38# CC          C compiler used to compile conv for AGRIF
39# CFLAGS      compiler flags used with CC
40#
41# Note that:
42#  - fcm variables are starting with a % (and not a $)
43#  - unix variables "$..." are accepted and will be evaluated before calling fcm.
44#  - The $ variables in this arch file are set by the nemo-PrgEnv module (see top)
45#
46%NCDF_HOME           $NETCDF_DIR
47%HDF5_HOME           $HDF5_DIR
48%XIOS_HOME           $XIO_HOME
49%OASIS_HOME         
50
51%NCDF_INC            -I%NCDF_HOME/include
52%NCDF_LIB            -L%NCDF_HOME/lib -lnetcdf -lnetcdff -lnetcdf -L%HDF5_HOME/lib -lhdf5_hl -lhdf5 -lhdf5 -lcurl
53%XIOS_INC            -I%XIOS_HOME/inc
54%XIOS_LIB            -L%XIOS_HOME/lib -lxios
55%OASIS_INC           
56%OASIS_LIB           
57
58%CPP               cpp
59%FC                  mpif90 -c -cpp
60#%FCFLAGS             -i4 -r8 -g -O0 -debug all -traceback -fp-model source -ftrapuv -check all,noarg_temp_created -fpe-all0 -ftz -init=arrays,snan,huge
61# -init=huge not supported until ifort 18.0
62%FCFLAGS             -i4 -r8 -g -O0 -debug all -traceback -fp-model source -ftrapuv -check all,noarg_temp_created -fpe-all0 -ftz -init=arrays,snan
63%FFLAGS              %FCFLAGS
64%LD                  mpif90
65%LDFLAGS             -lstdc++
66%FPPFLAGS            -P -C -traditional
67%AR                  ar
68%ARFLAGS             rs
69%MK                  gmake
70%USER_INC            %XIOS_INC %OASIS_INC %NCDF_INC
71%USER_LIB            %XIOS_LIB %OASIS_LIB %NCDF_LIB
72
73%CC                  icc
74%CFLAGS              -O0
Note: See TracBrowser for help on using the repository browser.