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 @ 1972

Last change on this file since 1972 was 1972, checked in by flavoni, 14 years ago

Add TOOLS directory and scripts to compile with FCM, see ticket: #685

  • Property svn:executable set to *
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 $MAIN_DIR/TOOLS/arch.fcm
11inc $MAIN_DIR/TOOLS/cpp.fcm
12
13%FFLAGS                   %FFLAGS %NCDF_INC 
14%LD_FLAGS                 %BASE_LD %NCDF_LIB
15src::agrif                $MAIN_DIR/EXTERNAL/AGRIF/AGRIF_FILES
16src::ioipsl               $MAIN_DIR/EXTERNAL/IOIPSL/src
17src::xmlf90               $MAIN_DIR/EXTERNAL/XMLF90/src
18src::xmlio_server         $MAIN_DIR/EXTERNAL/XMLIO_SERVER/src
19src::nemo                 $CONFIG_DIR/$NEW_CONF/WORK
20
21
22#bld::target              model.exe
23
24bld::exe_dep 
25
26
27dir::root            $NEMO_TDIR/$NEW_CONF/BLD
28
29#search_src           1
30
31bld::tool::fc        %FC 
32bld::tool::ld        %LD
33bld::tool::ar        %AR
34bld::tool::arflags   %ARFLAGS
35bld::tool::make      %M_K
36bld::tool::fflags    %FFLAGS 
37bld::tool::ldflags   %LD_FLAGS 
38
39bld::tool::cppflags  %FPP_FLAGS 
40bld::tool::fppflags  %FPP_FLAGS
41
42
43# Pre-process code before analysing dependencies
44bld::pp::nemo 1
45bld::tool::fpp       $TOOLS_DIR/agrifpp.sh
46bld::tool::fppflags  %FPP_FLAGS
47bld::tool::fppflags::nemo $AGRIFUSE
48
49# Ignore the following dependencies
50bld::excl_dep        inc::netcdf.inc
51bld::excl_dep        use::netcdf
52bld::excl_dep        h::netcdf.inc
53bld::excl_dep        h::mpif.h
54bld::excl_dep        inc::mpif.h
55bld::excl_dep        use::mod_prism_proto
56bld::excl_dep        use::mod_prism_def_partition_proto
57bld::excl_dep        use::mod_prism_get_proto
58bld::excl_dep        use::mod_prism_put_proto
59bld::excl_dep        use::mkl_dfti
60# Don't generate interface files
61bld::tool::geninterface none
62
63# Allow ".h90" as an extension for CPP include files
64bld::infile_ext::h90  CPP::INCLUDE
65
66# extension for module output
67bld::outfile_ext::mod .mod
68
69# rename executable to nemo.exe
70bld::exe_name::model  nemo.exe
71
Note: See TracBrowser for help on using the repository browser.