source: LMDZ6/branches/Amaury_dev/bld.cfg.rrtm @ 5136

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