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.
bld.cfg in trunk/NEMOGCM/TOOLS/COMPILE – NEMO

source: trunk/NEMOGCM/TOOLS/COMPILE/bld.cfg @ 3294

Last change on this file since 3294 was 3294, checked in by rblod, 11 years ago

Merge of 3.4beta into the trunk

  • Property svn:keywords set to Id
File size: 3.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::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::agrif                $MAIN_DIR/EXTERNAL/AGRIF/AGRIF_FILES
25src::nemo                 $CONFIG_DIR/$NEW_CONF/WORK
26
27#bld::lib::xmlf90           xmlf90
28#bld::lib::xmlio            xmlio
29#bld::lib::ioserver         ioserver
30#bld::lib::ioipsl           ioipsl
31#bld::lib::agrif            agrif
32#bld::lib::nemo             nemo
33#bld::target libxmlf90.a libioserver.a libxmlio.a libioipsl.a libagrif.a libnemo.a server.exe nemo.exe
34bld::target  server.exe nemo.exe
35bld::exe_dep
36
37
38dir::root            $NEMO_TDIR/$NEW_CONF/BLD
39
40
41bld::tool::fc        %FC 
42bld::tool::fflags    %FCFLAGS %USER_INC
43bld::tool::fflags::agrif   %FFLAGS %USER_INC
44bld::tool::ld        %LD
45bld::tool::ldflags   %LDFLAGS %USER_LIB
46bld::tool::ar        %AR
47bld::tool::arflags   %ARFLAGS
48bld::tool::make      %MK
49
50# Pre-process code before analysing dependencies
51bld::pp::xmlio    1
52bld::pp::ioserver 1
53bld::pp::ioipsl   1
54bld::pp::nemo     1
55bld::pp::agrif    1
56bld::tool::fpp       $COMPIL_DIR/agrifpp.sh
57bld::tool::fppflags::nemo ${AGRIFUSE} %FPPFLAGS
58bld::tool::fppflags::xmlio    0 %FPPFLAGS
59bld::tool::fppflags::ioserver 0 %FPPFLAGS
60bld::tool::fppflags::ioipsl   0 %FPPFLAGS
61bld::tool::fppflags::agrif    0 %FPPFLAGS
62
63# Ignore the following dependencies
64bld::excl_dep        inc::netcdf.inc
65bld::excl_dep        inc::VT.inc
66bld::excl_dep        use::netcdf
67bld::excl_dep        h::netcdf.inc
68bld::excl_dep        h::mpif.h
69bld::excl_dep        inc::mpif.h
70bld::excl_dep        inc::mpe_logf.h
71bld::excl_dep        use::mpi
72bld::excl_dep        use::mod_prism_proto
73bld::excl_dep        use::mod_prism_def_partition_proto
74bld::excl_dep        use::mod_prism_get_comm
75bld::excl_dep        use::mod_prism_get_proto
76bld::excl_dep        use::mod_prism_put_proto
77bld::excl_dep        use::mod_comprism_proto
78bld::excl_dep        use::mkl_dfti
79# Don't generate interface files
80bld::tool::geninterface none
81
82# Allow ".h90" as an extension for CPP include files
83bld::infile_ext::h90  CPP::INCLUDE
84
85# extension for module output
86bld::outfile_ext::mod .mod
87
88# rename executable to nemo.exe
89bld::exe_name::model  nemo.exe
90
Note: See TracBrowser for help on using the repository browser.