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

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

Adjustement for fcm

  • 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                 %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::fflags    %FCFLAGS %NCDF_INC %USER_INC
33bld::tool::fflags::agrif   %FFLAGS %NCDF_INC %USER_INC
34bld::tool::ld        %LD
35bld::tool::ldflags   %LDFLAGS %NCDF_LIB %USER_LIB
36bld::tool::ar        %AR
37bld::tool::arflags   %ARFLAGS
38bld::tool::make      %MK
39
40# Pre-process code before analysing dependencies
41bld::pp::nemo 1
42bld::pp::agrif 1
43bld::tool::fpp       $TOOLS_DIR/agrifpp.sh
44bld::tool::fppflags::nemo $AGRIFUSE
45bld::tool::fppflags::agrif 0
46
47# Ignore the following dependencies
48bld::excl_dep        inc::netcdf.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        use::mod_prism_proto
54bld::excl_dep        use::mod_prism_def_partition_proto
55bld::excl_dep        use::mod_prism_get_proto
56bld::excl_dep        use::mod_prism_put_proto
57bld::excl_dep        use::mkl_dfti
58# Don't generate interface files
59bld::tool::geninterface none
60
61# Allow ".h90" as an extension for CPP include files
62bld::infile_ext::h90  CPP::INCLUDE
63
64# extension for module output
65bld::outfile_ext::mod .mod
66
67# rename executable to nemo.exe
68bld::exe_name::model  nemo.exe
69
Note: See TracBrowser for help on using the repository browser.