Newer
Older
# ----------------------- FCM extract configuration file -----------------------
cfg::type bld
cfg::version 1.0
# ------------------------------------------------------------------------------
# Build information
# ------------------------------------------------------------------------------
inc $NEMO_TDIR/$NEW_CONF/BLD/arch_nemo.fcm
inc $NEMO_TDIR/$NEW_CONF/BLD/cpp.fcm
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
search_src 1
src::nocdf $MAIN_DIR/ext/DUMMY_NETCDF
src::ioipsl $MAIN_DIR/ext/IOIPSL/src
src::agrif $MAIN_DIR/ext/AGRIF/AGRIF_FILES
src::nemo $CONFIG_DIR/$NEW_CONF/NEMOFILES/obj
src::ppr_1d $MAIN_DIR/ext/PPR/src
bld::target nemo.exe
bld::exe_dep
dir::root $NEMO_TDIR/$NEW_CONF/BLD
bld::tool::cpp %CPP
bld::tool::fpp %CPP
bld::tool::fc %FC
bld::tool::fflags %FCFLAGS %USER_INC
bld::tool::fflags::agrif %FFLAGS %USER_INC
bld::tool::ld %LD
bld::tool::ldflags %LDFLAGS %USER_LIB
bld::tool::ar %AR
bld::tool::arflags %ARFLAGS
bld::tool::make %MK
# Pre-process code before analysing dependencies
bld::pp::nocdf 1
bld::pp::ioipsl 1
bld::pp::nemo 1
bld::pp::agrif 1
bld::pp::ppr_1d 1
bld::tool::fppflags::nemo %FPPFLAGS -I$CONFIG_DIR/$NEW_CONF/NEMOFILES/inc
bld::tool::fppflags::nocdf %FPPFLAGS
bld::tool::fppflags::ioipsl %FPPFLAGS
bld::tool::fppflags::agrif %FPPFLAGS -include ${MAIN_DIR}/ext/AGRIF/nemo_mpi.h
bld::tool::fppflags::ppr_1d %FPPFLAGS
# Ignore the following dependencies
bld::excl_dep inc::VT.inc
bld::excl_dep use::xios
bld::excl_dep h::mpif.h
bld::excl_dep inc::mpif.h
bld::excl_dep inc::mpe_logf.h
bld::excl_dep use::mpi
bld::excl_dep use::mod_oasis
bld::excl_dep use::mkl_dfti
bld::excl_dep use::cudafor
bld::excl_dep use::openacc
# Don't generate interface files
bld::tool::geninterface none
# Allow ".h90" as an extension for CPP include files
bld::infile_ext::h90 CPP::INCLUDE
bld::infile_ext::f90 FPP::FPP9X::SOURCE
# extension for module output
bld::outfile_ext::mod .mod
# rename executable to nemo.exe
bld::exe_name::model nemo.exe