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 utils/build/mk – NEMO

source: utils/build/mk/bld.cfg @ 14087

Last change on this file since 14087 was 14087, checked in by jchanut, 4 years ago

#2222, Add compilation of Piecewise Parabolic Reconstruction (PPR) library

  • Property svn:keywords set to Id
File size: 2.1 KB
RevLine 
[1972]1# ----------------------- FCM extract configuration file -----------------------
2cfg::type                           bld
3cfg::version                        1.0
4
5
6# ------------------------------------------------------------------------------
7# Build information
8# ------------------------------------------------------------------------------
9
[2136]10inc $COMPIL_DIR/arch_nemo.fcm
11inc $COMPIL_DIR/cpp.fcm
[1972]12
[2014]13search_src           1
[2011]14
[9598]15src::ioipsl               $MAIN_DIR/ext/IOIPSL/src
16src::agrif                $MAIN_DIR/ext/AGRIF/AGRIF_FILES
[9573]17src::nemo                 $CONFIG_DIR/$NEW_CONF/NEMOFILES/obj
[14087]18src::ppr_1d               $MAIN_DIR/ext/PPR/src
[1972]19
[13926]20
[3695]21bld::target  nemo.exe
[2178]22bld::exe_dep
[1972]23
[2012]24
[1972]25dir::root            $NEMO_TDIR/$NEW_CONF/BLD
26
27
[4865]28bld::tool::cpp       %CPP
29bld::tool::fpp       %CPP
[1972]30bld::tool::fc        %FC 
[2036]31bld::tool::fflags    %FCFLAGS %USER_INC
32bld::tool::fflags::agrif   %FFLAGS %USER_INC
[1972]33bld::tool::ld        %LD
[2036]34bld::tool::ldflags   %LDFLAGS %USER_LIB
[1972]35bld::tool::ar        %AR
36bld::tool::arflags   %ARFLAGS
[1987]37bld::tool::make      %MK
[1972]38
39# Pre-process code before analysing dependencies
[2011]40bld::pp::ioipsl   1
41bld::pp::nemo     1
42bld::pp::agrif    1
[14087]43bld::pp::ppr_1d   1
[9573]44bld::tool::fppflags::nemo      %FPPFLAGS -I$CONFIG_DIR/$NEW_CONF/NEMOFILES/inc
[3680]45bld::tool::fppflags::ioipsl    %FPPFLAGS
[9598]46bld::tool::fppflags::agrif     %FPPFLAGS -include ${MAIN_DIR}/ext/AGRIF/nemo_mpi.h
[14087]47bld::tool::fppflags::ppr_1d    %FPPFLAGS
[1972]48
49# Ignore the following dependencies
50bld::excl_dep        inc::netcdf.inc
[2011]51bld::excl_dep        inc::VT.inc
[1972]52bld::excl_dep        use::netcdf
[3695]53bld::excl_dep        use::xios
[1972]54bld::excl_dep        h::netcdf.inc
55bld::excl_dep        h::mpif.h
56bld::excl_dep        inc::mpif.h
[2011]57bld::excl_dep        inc::mpe_logf.h
58bld::excl_dep        use::mpi
[4990]59bld::excl_dep        use::mod_oasis
[1972]60bld::excl_dep        use::mkl_dfti
61# Don't generate interface files
62bld::tool::geninterface none
63
64# Allow ".h90" as an extension for CPP include files
65bld::infile_ext::h90  CPP::INCLUDE
[3680]66bld::infile_ext::f90  FPP::FPP9X::SOURCE
[1972]67
68# extension for module output
69bld::outfile_ext::mod .mod
70
71# rename executable to nemo.exe
[3695]72bld::exe_name::model  nemo.exe
Note: See TracBrowser for help on using the repository browser.