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_tools.cfg in utils/build/mk – NEMO

source: utils/build/mk/bld_tools.cfg

Last change on this file was 14855, checked in by mcastril, 3 years ago

mk: Add excl_dep for cudafor & openacc modules

  • Property svn:keywords set to Id
File size: 1.7 KB
RevLine 
[2136]1# ----------------------- FCM extract configuration file -----------------------
2cfg::type                           bld
3cfg::version                        1.0
4
5
6# ------------------------------------------------------------------------------
7# Build information
8# ------------------------------------------------------------------------------
9
10inc $COMPIL_DIR/arch_tools.fcm
[12415]11inc $COMPIL_DIR/cpp_tools.fcm
[2136]12
13search_src           1
14
[13055]15src::agrif           $MAIN_DIR/ext/AGRIF/AGRIF_FILES
16src::nemo            $TOOLS_DIR/$NEW_CONF/NEMOFILES/obj
[2136]17
[13055]18
19bld::target  make_domain_cfg.exe
20bld::exe_dep
21
22
[12415]23dir::root            $TOOLS_DIR/$NEW_CONF/BLD
[2136]24
[13055]25
[4865]26bld::tool::cpp       %CPP
27bld::tool::fpp       %CPP
[2136]28bld::tool::fc        %FC 
29bld::tool::fflags    %FCFLAGS %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
[12415]36# Pre-process code before analysing dependencies
37bld::pp::nemo     1
[13055]38bld::pp::agrif    1
[12415]39bld::tool::fppflags::nemo      %FPPFLAGS -I$TOOLS_DIR/$NEW_CONF/NEMOFILES/inc
[13055]40bld::tool::fppflags::agrif     %FPPFLAGS -include ${MAIN_DIR}/ext/AGRIF/nemo_mpi.h
[12415]41
[13055]42
43
44
[2136]45# Ignore the following dependencies
46bld::excl_dep        inc::netcdf.inc
47bld::excl_dep        use::netcdf
[7646]48bld::excl_dep        use::xios
[2136]49bld::excl_dep        h::netcdf.inc
50bld::excl_dep        h::mpif.h
51bld::excl_dep        inc::mpif.h
52bld::excl_dep        use::mpi
[10620]53bld::excl_dep        use::mod_oasis
[14855]54bld::excl_dep        use::cudafor
55bld::excl_dep        use::openacc
[2136]56
57# Don't generate interface files
58bld::tool::geninterface none
59
60# Allow ".h90" as an extension for CPP include files
61bld::infile_ext::h90  CPP::INCLUDE
[12415]62bld::infile_ext::f90  FPP::FPP9X::SOURCE
[2136]63
64# extension for module output
65bld::outfile_ext::mod .mod
Note: See TracBrowser for help on using the repository browser.