source: branches/NERC/dev_r5518_GO6_CO2_cmip/NEMOGCM/TOOLS/COMPILE/bld.cfg @ 9298

Last change on this file since 9298 was 6487, checked in by davestorkey, 5 years ago

Changes from nemo_v3_6_STABLE_copy branch.
Custom merge into /branches/UKMO/dev_r5518_GO6_package/NEMOGCM: r6237 cf. r5781 of /branches/UKMO/nemo_v3_6_STABLE_copy/NEMOGCM@6486

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