source: utils/build/arch/CNRS/arch-X64_JEANZAY_DEBUG.fcm

Last change on this file was 14242, checked in by smasson, 5 months ago

trunk: replace key_iomput by key_xios

File size: 2.6 KB
Line 
1# Jean-Zay HPE at IDRIS, http://www.idris.fr/jean-zay
2#
3# XIOS_HOME   root directory containing lib for XIOS
4# OASIS_HOME  root directory containing lib for OASIS
5#
6# NCDF_INC    netcdf4 include file
7# NCDF_LIB    netcdf4 library
8# XIOS_INC    xios include file    (taken into accound only if key_xios is activated)
9# XIOS_LIB    xios library         (taken into accound only if key_xios is activated)
10# OASIS_INC   oasis include file   (taken into accound only if key_oasis3 is activated)
11# OASIS_LIB   oasis library        (taken into accound only if key_oasis3 is activated)
12#
13# FC          Fortran compiler command
14# FCFLAGS     Fortran compiler flags
15# FFLAGS      Fortran 77 compiler flags
16# LD          linker
17# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries
18# FPPFLAGS    pre-processing flags
19# AR          assembler
20# ARFLAGS     assembler flags
21# MK          make
22# USER_INC    complete list of include files
23# USER_LIB    complete list of libraries to pass to the linker
24# CC          C compiler used to compile conv for AGRIF
25# CFLAGS      compiler flags used with CC
26#
27# Note that:
28#  - unix variables "$..." are accpeted and will be evaluated before calling fcm.
29#  - fcm variables are starting with a % (and not a $)
30#
31#---------------------------------------------------------------------------------------------
32#---------------------------------------------------------------------------------------------
33# All NETCDF and HDF paths are empty as they are automatically defined through environment
34# variables by the load of modules
35#---------------------------------------------------------------------------------------------
36#---------------------------------------------------------------------------------------------
37#
38#
39%XIOS_HOME           $WORK/xios-2.5
40%OASIS_HOME         
41
42%NCDF_INC           
43%NCDF_LIB            -lnetcdff -lnetcdf
44%XIOS_INC            -I%XIOS_HOME/inc
45%XIOS_LIB            -L%XIOS_HOME/lib -lxios -lstdc++
46%OASIS_INC           -I%OASIS_HOME/build/lib/mct -I%OASIS_HOME/build/lib/psmile.MPI1
47%OASIS_LIB           -L%OASIS_HOME/lib -lpsmile.MPI1 -lmct -lmpeu -lscrip
48
49%CPP               cpp
50%FC                  mpiifort -c -cpp
51%FCFLAGS             -i4 -r8 -g -O0 -debug all -traceback -fp-model strict -ftrapuv -check all,noarg_temp_created -fpe-all0 -ftz -init=arrays,snan,huge
52%FFLAGS              %FCFLAGS
53%LD                  mpiifort
54%LDFLAGS             
55%FPPFLAGS            -P -traditional
56%AR                  ar
57%ARFLAGS             rs
58%MK                  gmake
59%USER_INC            %XIOS_INC %OASIS_INC %NCDF_INC
60%USER_LIB            %XIOS_LIB %OASIS_LIB %NCDF_LIB
61
62%CC                  cc
63%CFLAGS              -O0
Note: See TracBrowser for help on using the repository browser.