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

source: branches/2011/dev_r2802_LOCEAN10_agrif_lim/NEMOGCM/TOOLS/COMPILE/bldxio.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

File size: 2.5 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
13#search_src           1
14
15src::ioipsl               $MAIN_DIR/EXTERNAL/IOIPSL/src
16src::agrif                $MAIN_DIR/EXTERNAL/AGRIF/AGRIF_FILES
17src::nemo                 $CONFIG_DIR/$NEW_CONF/WORK
18
19bld::target  nemo.exe
20bld::exe_dep
21
22
23dir::root            $NEMO_TDIR/$NEW_CONF/BLD
24
25
26bld::tool::fc    $TOOLS_DIR/COMPILE/agriffc.sh %FC   
27bld::tool::fflags      %FCFLAGS %USER_INC
28bld::tool::fflags::nemo     $AGRIFUSE %FCFLAGS %USER_INC 
29bld::tool::fflags::agrif    %FFLAGS %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::agrif    1
40bld::tool::fpp       $TOOLS_DIR/COMPILE/agrifpp.sh
41bld::tool::fppflags::nemo  %FPPFLAGS
42bld::tool::fppflags::ioipsl    %FPPFLAGS
43bld::tool::fppflags::agrif     %FPPFLAGS
44
45
46# Ignore the following dependencies
47bld::excl_dep        inc::netcdf.inc
48bld::excl_dep        inc::VT.inc
49bld::excl_dep        use::netcdf
50bld::excl_dep        h::netcdf.inc
51bld::excl_dep        h::mpif.h
52bld::excl_dep        inc::mpif.h
53bld::excl_dep        inc::mpe_logf.h
54bld::excl_dep        use::mpi
55bld::excl_dep        use::mod_prism_proto
56bld::excl_dep        use::mod_prism_def_partition_proto
57bld::excl_dep        use::mod_prism_get_comm
58bld::excl_dep        use::mod_prism_get_proto
59bld::excl_dep        use::mod_prism_put_proto
60bld::excl_dep        use::mod_comprism_proto
61bld::excl_dep        use::mkl_dfti
62bld::excl_dep        h::setnumberofcells.h
63bld::excl_dep        h::getnumberofcells.h
64bld::excl_dep        h::include_use_alloc_agrif.h
65bld::excl_dep        h::allocations_calls_agrif.h
66bld::excl_dep        h::modtype_agrif.h
67bld::excl_dep        h::probdim_agrif.h
68bld::excl_dep        h::keys_agrif.h
69
70
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.