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