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

source: branches/DEV_r1879_FCM/NEMOGCM/TOOLS/COMPILE/bld.cfg @ 2143

Last change on this file since 2143 was 2143, checked in by rblod, 14 years ago

Improvement of FCM branch

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