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 – NEMO

source: branches/DEV_r1879_FCM/NEMOGCM/TOOLS/bld.cfg @ 2011

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

Fix for ioserver and fcm

  • Property svn:executable set to *
File size: 2.7 KB
Line 
1# ----------------------- FCM extract configuration file -----------------------
2cfg::type                           bld
3cfg::version                        1.0
4
5
6# ------------------------------------------------------------------------------
7# Build information
8# ------------------------------------------------------------------------------
9
10inc $MAIN_DIR/TOOLS/arch.fcm
11inc $MAIN_DIR/TOOLS/cpp.fcm
12
13%FFLAGS                   %FFLAGS %NCDF_INC 
14%LD_FLAGS                 %NCDF_LIB
15
16search_src           true
17
18src::xmlf90_cml           $MAIN_DIR/EXTERNAL/XMLF90/src/cml
19src::xmlf90_dom           $MAIN_DIR/EXTERNAL/XMLF90/src/dom
20src::xmlf90_sax           $MAIN_DIR/EXTERNAL/XMLF90/src/sax
21src::xmlf90_strings       $MAIN_DIR/EXTERNAL/XMLF90/src/strings
22src::xmlf90_wxml          $MAIN_DIR/EXTERNAL/XMLF90/src/wxml
23src::xmlf90_xpath         $MAIN_DIR/EXTERNAL/XMLF90/src/xpath
24src::xmlio                $MAIN_DIR/EXTERNAL/XMLIO_SERVER/src/XMLIO
25src::ioserver             $MAIN_DIR/EXTERNAL/XMLIO_SERVER/src/IOSERVER
26src::ioipsl               $MAIN_DIR/EXTERNAL/IOIPSL/src
27src::agrif                $MAIN_DIR/EXTERNAL/AGRIF/AGRIF_FILES
28src::nemo                 $CONFIG_DIR/$NEW_CONF/WORK
29
30
31dir::root            $NEMO_TDIR/$NEW_CONF/BLD
32
33
34bld::tool::fc        %FC 
35bld::tool::fflags    %FCFLAGS %NCDF_INC %USER_INC
36bld::tool::fflags::agrif   %FFLAGS %NCDF_INC %USER_INC
37bld::tool::ld        %LD
38bld::tool::ldflags   %LDFLAGS %NCDF_LIB %USER_LIB
39bld::tool::ar        %AR
40bld::tool::arflags   %ARFLAGS
41bld::tool::make      %MK
42
43# Pre-process code before analysing dependencies
44bld::pp::xmlio    1
45bld::pp::ioserver 1
46bld::pp::ioipsl   1
47bld::pp::nemo     1
48bld::pp::agrif    1
49bld::tool::fpp       $TOOLS_DIR/agrifpp.sh
50bld::tool::fppflags::nemo ${AGRIFUSE} %FPPFLAGS
51bld::tool::fppflags::xmlio    0 %FPPFLAGS
52bld::tool::fppflags::ioserver 0 %FPPFLAGS
53bld::tool::fppflags::ioipsl   0 %FPPFLAGS
54bld::tool::fppflags::agrif    0 %FPPFLAGS
55
56# Ignore the following dependencies
57bld::excl_dep        inc::netcdf.inc
58bld::excl_dep        inc::VT.inc
59bld::excl_dep        use::netcdf
60bld::excl_dep        h::netcdf.inc
61bld::excl_dep        h::mpif.h
62bld::excl_dep        inc::mpif.h
63bld::excl_dep        inc::mpe_logf.h
64bld::excl_dep        use::mpi
65bld::excl_dep        use::mod_prism_proto
66bld::excl_dep        use::mod_prism_def_partition_proto
67bld::excl_dep        use::mod_prism_get_comm
68bld::excl_dep        use::mod_prism_get_proto
69bld::excl_dep        use::mod_prism_put_proto
70bld::excl_dep        use::mkl_dfti
71# Don't generate interface files
72bld::tool::geninterface none
73
74# Allow ".h90" as an extension for CPP include files
75bld::infile_ext::h90  CPP::INCLUDE
76
77# extension for module output
78bld::outfile_ext::mod .mod
79
80# rename executable to nemo.exe
81bld::exe_name::model  nemo.exe
82
Note: See TracBrowser for help on using the repository browser.