source: LMDZ6/trunk/bld.cfg.ecrad @ 4791

Last change on this file since 4791 was 4773, checked in by idelkadi, 11 months ago
  • Update of Ecrad in LMDZ The same organization of the Ecrad offline version is retained in order to facilitate the updating of Ecrad in LMDZ and the comparison between online and offline results. version 1.6.1 of Ecrad (https://github.com/lguez/ecrad.git)
  • Implementation of the double call of Ecrad in LMDZ


File size: 3.3 KB
Line 
1# ----------------------- FCM extract configuration file -----------------------
2cfg::type                           bld
3cfg::version                        1.0
4
5
6# ------------------------------------------------------------------------------
7# Build information
8# ------------------------------------------------------------------------------
9
10inc arch.fcm
11inc config.fcm
12
13%CONFIG_NAME       %{ARCH}%SUFF_NAME
14%BASE_CONFIG_PATH  %LIBO/%CONFIG_NAME
15%CONFIG_PATH       %BASE_CONFIG_PATH/.config
16%SRC_PATH          %LIBF
17
18%FFLAGS            %BASE_FFLAGS %COMPIL_FFLAGS %PARA_FFLAGS
19%LD_FLAGS          %BASE_LD %PARA_LD
20
21src::dyn     %SRC_PATH/%DYN
22src::phys    %SRC_PATH/%PHYS
23src::dyn_phys %DYN_PHYS
24src::dyn_phys_sub %DYN_PHYS_SUB
25src::inlandsis  %INLANDSIS
26src::rad    %RAD
27src::dust    %DUST
28src::strataer %STRATAER
29src::grid    %SRC_PATH/grid
30src::filtrez %FILTRE
31src::misc    %SRC_PATH/misc
32src::dyn3d_common   %DYN_COMMON
33src::phy_common %PHY_COMMON
34src::cosp    %COSP
35src::ext_src %EXT_SRC
36src::Ocean_skin %SRC_PATH/%PHYS/Ocean_skin
37src::radiation %RAD/radiation
38src::ifsrrtm %RAD/ifsrrtm
39src::ifsaux %RAD/ifsaux
40src::ecradinc %RAD/include
41src::ecradhook %RAD/drhook
42src::ecradutil %RAD/utilities
43
44bld::lib            lmdz
45
46bld::outfile_ext::exe    %SUFF_NAME
47bld::target              liblmdz.a %EXEC%SUFF_NAME
48bld::exe_dep             
49
50
51dir::root            %CONFIG_PATH
52#dir::lib             %BASE_CONFIG_PATH
53dir::bin             %ROOT_PATH/bin
54
55#search_src           1
56
57bld::tool::fpp       %FPP
58bld::tool::fc        %COMPILER
59bld::tool::ld        %LINK
60bld::tool::ar        %AR
61bld::tool::arflags   %ARFLAGS
62bld::tool::make      %MAKE
63bld::tool::fflags    %FFLAGS %INCDIR
64bld::tool::ldflags   %LD_FLAGS %LIB 
65
66bld::tool::cppflags  %FPP_FLAGS %INCDIR
67bld::tool::fppflags  %FPP_FLAGS %INCDIR
68bld::tool::fppkeys   %CPP_KEY %FPP_DEF
69
70
71# Example of how to set specific compiling options for a specific file
72# -> this can be including in the arch.opt file
73#bld::tool::fflags::phys::readaerosol         %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt -pi auto
74
75
76inc arch.opt
77
78# Pre-process code before analysing dependencies
79bld::pp              1
80
81
82# Ignore the following dependencies
83bld::excl_dep        inc::netcdf.inc
84bld::excl_dep        use::netcdf
85bld::excl_dep        use::typesizes
86bld::excl_dep        h::netcdf.inc
87bld::excl_dep        h::mpif.h
88bld::excl_dep        inc::mpif.h
89bld::excl_dep        use::ioipsl
90bld::excl_dep        use::intersurf
91bld::excl_dep        use::mod_prism_proto
92bld::excl_dep        use::mod_prism_def_partition_proto
93bld::excl_dep        use::mod_prism_get_proto
94bld::excl_dep        use::mod_prism_put_proto
95bld::excl_dep        use::mod_prism
96bld::excl_dep        use::xios
97bld::excl_dep        use::iaxis
98bld::excl_dep        use::iaxis_attr
99bld::excl_dep        use::icontext_attr
100bld::excl_dep        use::idate
101bld::excl_dep        use::idomain_attr
102bld::excl_dep        use::ifield_attr
103bld::excl_dep        use::ifile_attr
104bld::excl_dep        use::ixml_tree
105bld::excl_dep        use::netcdf95
106# The following for INCA used with CPL
107bld::excl_dep        use::incaoasis
108
109# Don't generate interface files
110bld::tool::geninterface none
111
112# Allow ".inc" as an extension for CPP include files
113bld::infile_ext::inc  CPP::INCLUDE
114
115# extension for module output
116bld::outfile_ext::mod .mod
117bld::tool::SHELL   /bin/bash
Note: See TracBrowser for help on using the repository browser.