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 branches/2011/dev_r2802_LOCEAN10_agrif_lim/NEMOGCM/TOOLS/COMPILE – NEMO

source: branches/2011/dev_r2802_LOCEAN10_agrif_lim/NEMOGCM/TOOLS/COMPILE/bldxag.cfg @ 2815

Last change on this file since 2815 was 2815, checked in by rblod, 13 years ago

branch dev_r2802_LOCEAN10_agrif_lim2: avoid to recompile everything with key_agrif, allow parallel compilation with agrif etc

  • Property svn:keywords set to Id
File size: 2.9 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::xmlf90::cml          $MAIN_DIR/EXTERNAL/XMLF90/src/cml
16src::xmlf90::dom          $MAIN_DIR/EXTERNAL/XMLF90/src/dom
17src::xmlf90::sax          $MAIN_DIR/EXTERNAL/XMLF90/src/sax
18src::xmlf90::strings      $MAIN_DIR/EXTERNAL/XMLF90/src/strings
19src::xmlf90::wxml         $MAIN_DIR/EXTERNAL/XMLF90/src/wxml
20src::xmlf90::xpath        $MAIN_DIR/EXTERNAL/XMLF90/src/xpath
21src::xmlio                $MAIN_DIR/EXTERNAL/XMLIO_SERVER/src/XMLIO
22src::ioserver             $MAIN_DIR/EXTERNAL/XMLIO_SERVER/src/IOSERVER
23src::ioipsl               $MAIN_DIR/EXTERNAL/IOIPSL/src
24src::nemo                 $CONFIG_DIR/$NEW_CONF/WORK
25
26bld::target  server.exe nemo.exe
27bld::exe_dep
28
29
30dir::root            $NEMO_TDIR/$NEW_CONF/BLD
31
32
33bld::tool::fc        $TOOLS_DIR/COMPILE/agriffc.sh %FC 
34bld::tool::fflags::nemo     $AGRIFUSE %FCFLAGS %USER_INC 
35bld::tool::fflags    %FCFLAGS %USER_INC
36bld::tool::ld        %LD
37bld::tool::ldflags   %LDFLAGS %USER_LIB
38bld::tool::ar        %AR
39bld::tool::arflags   %ARFLAGS
40bld::tool::make      %MK
41
42# Pre-process code before analysing dependencies
43bld::pp::xmlio    1
44bld::pp::ioserver 1
45bld::pp::ioipsl   1
46bld::pp::nemo     1
47bld::tool::fpp       $COMPIL_DIR/agrifpp.sh
48bld::tool::fppflags::nemo      %FPPFLAGS
49bld::tool::fppflags::xmlio     %FPPFLAGS
50bld::tool::fppflags::ioserver  %FPPFLAGS
51bld::tool::fppflags::ioipsl    %FPPFLAGS
52
53# Ignore the following dependencies
54bld::excl_dep        inc::netcdf.inc
55bld::excl_dep        inc::VT.inc
56bld::excl_dep        use::netcdf
57bld::excl_dep        h::netcdf.inc
58bld::excl_dep        h::mpif.h
59bld::excl_dep        inc::mpif.h
60bld::excl_dep        inc::mpe_logf.h
61bld::excl_dep        use::mpi
62bld::excl_dep        use::mod_prism_proto
63bld::excl_dep        use::mod_prism_def_partition_proto
64bld::excl_dep        use::mod_prism_get_comm
65bld::excl_dep        use::mod_prism_get_proto
66bld::excl_dep        use::mod_prism_put_proto
67bld::excl_dep        use::mod_comprism_proto
68bld::excl_dep        use::mkl_dfti
69bld::excl_dep        h::setnumberofcells.h
70bld::excl_dep        h::getnumberofcells.h
71bld::excl_dep        h::include_use_alloc_agrif.h
72bld::excl_dep        h::allocations_calls_agrif.h
73bld::excl_dep        h::modtype_agrif.h
74bld::excl_dep        h::probdim_agrif.h
75bld::excl_dep        h::keys_agrif.h
76
77# Don't generate interface files
78bld::tool::geninterface none
79
80# Allow ".h90" as an extension for CPP include files
81bld::infile_ext::h90  CPP::INCLUDE
82
83# extension for module output
84bld::outfile_ext::mod .mod
85
86# rename executable to nemo.exe
87bld::exe_name::model  nemo.exe
88
Note: See TracBrowser for help on using the repository browser.