source: LMDZ6/branches/Amaury_dev/bld.cfg.ecrad @ 5119

Last change on this file since 5119 was 5093, checked in by abarral, 4 months ago

Use latest FCM source (2021.05.0) [Note: we still use the legacy FCM1 build system]
Correct UTF8 encoding of french chars


Compil OK (tested: oldrad/rrtm/ecrad, para/seq/1D)
Convergence (ref r5063) bench 33x OK oldrad orch2.0 (tested: para/seq)

File size: 3.5 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
35#src::ext_src %EXT_SRC
36src::Ocean_skin %SRC_PATH/%PHYS/Ocean_skin
37src::lmdz %RAD/lmdz
38src::radiation %RAD/radiation
39src::ifsrrtm %RAD/ifsrrtm
40src::ifsaux %RAD/ifsaux
41src::ecradinc %RAD/include
42src::ecradhook %RAD/drhook
43src::ecradutil %RAD/utilities
44
45src::netcdf95            %ROOT_PATH/tools/netcdf95
46src::netcdf95::Datasets   %ROOT_PATH/tools/netcdf95/Datasets
47src::netcdf95::Groups     %ROOT_PATH/tools/netcdf95/Groups
48src::netcdf95::Variables   %ROOT_PATH/tools/netcdf95/Variables
49src::netcdf95::Attributes %ROOT_PATH/tools/netcdf95/Attributes
50
51
52bld::lib            lmdz
53
54bld::outfile_ext::exe    %SUFF_NAME
55bld::target              liblmdz.a %EXEC%SUFF_NAME
56bld::exe_dep
57
58
59dir::root            %CONFIG_PATH
60
61bld::tool::fpp       %FPP
62bld::tool::fc        %COMPILER
63bld::tool::ld        %LINK
64bld::tool::ar        %AR
65bld::tool::arflags   %ARFLAGS
66bld::tool::make      %MAKE
67bld::tool::fflags    %FFLAGS %INCDIR
68bld::tool::ldflags   %LD_FLAGS %LIB 
69
70bld::tool::cppflags  %FPP_FLAGS %INCDIR
71bld::tool::fppflags  %FPP_FLAGS %INCDIR
72bld::tool::fppkeys   %CPP_KEY %FPP_DEF
73
74
75# Example of how to set specific compiling options for a specific file
76# -> this can be including in the arch.opt file
77#bld::tool::fflags::phys::readaerosol         %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt -pi auto
78
79
80inc arch.opt
81
82# Pre-process code before analysing dependencies
83bld::pp              1
84
85
86# Ignore the following dependencies
87bld::excl_dep        inc::netcdf.inc
88bld::excl_dep        use::netcdf
89bld::excl_dep        use::typesizes
90bld::excl_dep        h::netcdf.inc
91bld::excl_dep        h::mpif.h
92bld::excl_dep        inc::mpif.h
93bld::excl_dep        use::ioipsl
94bld::excl_dep        use::intersurf
95bld::excl_dep        use::mod_prism_proto
96bld::excl_dep        use::mod_prism_def_partition_proto
97bld::excl_dep        use::mod_prism_get_proto
98bld::excl_dep        use::mod_prism_put_proto
99bld::excl_dep        use::mod_prism
100bld::excl_dep        use::xios
101bld::excl_dep        use::iaxis
102bld::excl_dep        use::iaxis_attr
103bld::excl_dep        use::icontext_attr
104bld::excl_dep        use::idate
105bld::excl_dep        use::idomain_attr
106bld::excl_dep        use::ifield_attr
107bld::excl_dep        use::ifile_attr
108bld::excl_dep        use::ixml_tree
109#bld::excl_dep        use::netcdf95
110# The following for INCA used with CPL
111bld::excl_dep        use::incaoasis
112
113# Don't generate interface files
114bld::tool::geninterface none
115
116# Allow ".inc" as an extension for CPP include files
117bld::infile_ext::inc  CPP::INCLUDE
118
119# extension for module output
120bld::outfile_ext::mod .mod
121bld::tool::SHELL   /bin/bash
Note: See TracBrowser for help on using the repository browser.