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_DIA_GPU – NEMO

source: utils/build/mk_DIA_GPU/bld.cfg @ 14814

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

[mk_DIA_GPU] Add bld::excl_dep for cudafor and openacc

  • Property svn:keywords set to Id
File size: 2.2 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::ioipsl               $MAIN_DIR/ext/IOIPSL/src
16src::agrif                $MAIN_DIR/ext/AGRIF/AGRIF_FILES
17src::nemo                 $CONFIG_DIR/$NEW_CONF/NEMOFILES/obj
18src::ppr_1d               $MAIN_DIR/ext/PPR/src
19
20
21bld::target  nemo.exe
22bld::exe_dep
23
24
25dir::root            $NEMO_TDIR/$NEW_CONF/BLD
26
27
28bld::tool::cpp       %CPP
29bld::tool::fpp       %CPP
30bld::tool::fc        %FC 
31bld::tool::fflags    %FCFLAGS %USER_INC
32bld::tool::fflags::agrif   %FFLAGS %USER_INC
33bld::tool::ld        %LD
34bld::tool::ldflags   %LDFLAGS %USER_LIB
35bld::tool::ar        %AR
36bld::tool::arflags   %ARFLAGS
37bld::tool::make      %MK
38
39# Pre-process code before analysing dependencies
40bld::pp::ioipsl   1
41bld::pp::nemo     1
42bld::pp::agrif    1
43bld::pp::ppr_1d   1
44bld::tool::fppflags::nemo      %FPPFLAGS -I$CONFIG_DIR/$NEW_CONF/NEMOFILES/inc
45bld::tool::fppflags::ioipsl    %FPPFLAGS
46bld::tool::fppflags::agrif     %FPPFLAGS -include ${MAIN_DIR}/ext/AGRIF/nemo_mpi.h
47bld::tool::fppflags::ppr_1d    %FPPFLAGS
48
49# Ignore the following dependencies
50bld::excl_dep        inc::netcdf.inc
51bld::excl_dep        inc::VT.inc
52bld::excl_dep        use::netcdf
53bld::excl_dep        use::xios
54bld::excl_dep        h::netcdf.inc
55bld::excl_dep        h::mpif.h
56bld::excl_dep        inc::mpif.h
57bld::excl_dep        inc::mpe_logf.h
58bld::excl_dep        use::mpi
59bld::excl_dep        use::mod_oasis
60bld::excl_dep        use::mkl_dfti
61bld::excl_dep        use::cudafor
62bld::excl_dep        use::openacc
63# Don't generate interface files
64bld::tool::geninterface none
65
66# Allow ".h90" as an extension for CPP include files
67bld::infile_ext::h90  CPP::INCLUDE
68bld::infile_ext::f90  FPP::FPP9X::SOURCE
69
70# extension for module output
71bld::outfile_ext::mod .mod
72
73# rename executable to nemo.exe
74bld::exe_name::model  nemo.exe
Note: See TracBrowser for help on using the repository browser.