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.
bldxag.cfg in utils/build/mk – NEMO

source: utils/build/mk/bldxag.cfg @ 14813

Last change on this file since 14813 was 14813, checked in by mcastril, 3 years ago

[mk] Rollback r14812

  • Property svn:keywords set to Id
File size: 1.8 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/ext/IOIPSL/src
16src::nemo                 $CONFIG_DIR/$NEW_CONF/WORK
17src::ppr_1d               $MAIN_DIR/ext/PPR/src
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::ld        %LD
31bld::tool::ldflags   %LDFLAGS %USER_LIB
32bld::tool::ar        %AR
33bld::tool::arflags   %ARFLAGS
34bld::tool::make      %MK
35
36# Pre-process code before analysing dependencies
37bld::pp::ioipsl   1
38bld::pp::nemo     1
39bld::pp::ppr_1d   1
40bld::tool::fppflags::nemo     %FPPFLAGS
41bld::tool::fppflags::ioipsl   %FPPFLAGS
42bld::tool::fppflags::ppr_1d   %FPPFLAGS
43
44# Ignore the following dependencies
45bld::excl_dep        inc::netcdf.inc
46bld::excl_dep        inc::VT.inc
47bld::excl_dep        use::netcdf
48bld::excl_dep        use::xios
49bld::excl_dep        h::netcdf.inc
50bld::excl_dep        h::mpif.h
51bld::excl_dep        inc::mpif.h
52bld::excl_dep        inc::mpe_logf.h
53bld::excl_dep        use::mpi
54bld::excl_dep        use::mod_oasis
55bld::excl_dep        use::mkl_dfti
56# Don't generate interface files
57bld::tool::geninterface none
58
59# Allow ".h90" as an extension for CPP include files
60bld::infile_ext::h90  CPP::INCLUDE
61
62# extension for module output
63bld::outfile_ext::mod .mod
64
65# rename executable to nemo.exe
66bld::exe_name::model  nemo.exe
67
Note: See TracBrowser for help on using the repository browser.