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/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/TOOLS/COMPILE – NEMO

source: branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/TOOLS/COMPILE/bldxag.cfg @ 3415

Last change on this file since 3415 was 3415, checked in by rblod, 12 years ago

Changes for compilation and few code modifications for the new ioserver, see ticket #974

  • Property svn:keywords set to Id
File size: 2.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::nemo                 $CONFIG_DIR/$NEW_CONF/WORK
16src::ioipsl               $MAIN_DIR/EXTERNAL/IOIPSL/src
17
18bld::target  nemo.exe
19bld::exe_dep
20
21
22dir::root            $NEMO_TDIR/$NEW_CONF/BLD
23
24bld::tool::fc        %FC 
25bld::tool::fflags    %FCFLAGS %USER_INC -I$MAIN_DIR/EXTERNAL/XIOS/inc
26bld::tool::ld        %LD
27bld::tool::ldflags   %LDFLAGS %USER_LIB -L$MAIN_DIR/EXTERNAL/XIOS/lib  -lxios  -lstdc++
28bld::tool::ar        %AR
29bld::tool::arflags   %ARFLAGS
30bld::tool::make      %MK
31
32# Pre-process code before analysing dependencies
33bld::pp::nemo     1
34bld::pp::ioipsl   1
35bld::tool::fpp       $COMPIL_DIR/agrifpp.sh
36bld::tool::fppflags::nemo ${AGRIFUSE} %FPPFLAGS
37bld::tool::fppflags::ioipsl   0 %FPPFLAGS
38
39# Ignore the following dependencies
40bld::excl_dep        inc::netcdf.inc
41bld::excl_dep        inc::VT.inc
42bld::excl_dep        use::netcdf
43bld::excl_dep        use::xios
44bld::excl_dep        h::netcdf.inc
45bld::excl_dep        h::mpif.h
46bld::excl_dep        inc::mpif.h
47bld::excl_dep        inc::mpe_logf.h
48bld::excl_dep        use::mpi
49bld::excl_dep        use::mod_prism_proto
50bld::excl_dep        use::mod_prism_def_partition_proto
51bld::excl_dep        use::mod_prism_get_comm
52bld::excl_dep        use::mod_prism_get_proto
53bld::excl_dep        use::mod_prism_put_proto
54bld::excl_dep        use::mod_comprism_proto
55bld::excl_dep        use::mkl_dfti
56# Don't generate interface files
57bld::tool::geninterface none
58
59# Allow ".h90" as an extension for CPP include files
60bld::infile_ext::h90  CPP::INCLUDE
61
62# extension for module output
63bld::outfile_ext::mod .mod
64
65# rename executable to nemo.exe
66bld::exe_name::model  nemo.exe
67
Note: See TracBrowser for help on using the repository browser.