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

source: utils/build/arch/NOC/arch-X64_MOBILIS.fcm @ 10452

Last change on this file since 10452 was 10452, checked in by acc, 5 years ago

Update NOC-specific, MOBILIS arch file for compatibility with the module environments (nemo-PrgEnv?/4.0 and nemo-PrgEnv?/3.6)

  • Property svn:mime-type set to text/x-perl
File size: 2.8 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_iomput is activated)
23# XIOS_LIB    xios library         (taken into accound only if key_iomput 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 -O3 -fp-model source -xAVX
61%FFLAGS              %FCFLAGS
62%LD                  mpif90
63%LDFLAGS             -lstdc++
64%FPPFLAGS            -P -C -traditional
65%AR                  ar
66%ARFLAGS             rs
67%MK                  gmake
68%USER_INC            %XIOS_INC %OASIS_INC %NCDF_INC
69%USER_LIB            %XIOS_LIB %OASIS_LIB %NCDF_LIB
70
71%CC                  icc
72%CFLAGS              -O0
Note: See TracBrowser for help on using the repository browser.