source: trunk/LMDZ.COMMON/bld.cfg @ 1306

Last change on this file since 1306 was 1302, checked in by emillour, 11 years ago

Common dynamics:
Some updates to keep up with LMDZ5 Earth model evolution
(up to LMDZ5 rev 2070). See file "DOC/chantiers/commit_importants.log"
for detailed list of changes.
Note that the updates of exner* routines change (as expected) results
at numerical roundoff level.
EM

File size: 3.1 KB
RevLine 
[1]1# ----------------------- FCM extract configuration file -----------------------
2cfg::type                           bld
3cfg::version                        1.0
4
5
6# ------------------------------------------------------------------------------
7# Build information
8# ------------------------------------------------------------------------------
9
10#Default value of FPP fortran preprocessor
11%FPP cpp
[895]12# C preprocessor
13%CPP cpp
[1]14
15inc arch.fcm
16inc config.fcm
17
18%CONFIG_NAME       %{ARCH}%SUFF_NAME
19%BASE_CONFIG_PATH  %LIBO/%CONFIG_NAME
20%CONFIG_PATH       %BASE_CONFIG_PATH/.config
21%SRC_PATH          %LIBF
22
23%FFLAGS            %BASE_FFLAGS %COMPIL_FFLAGS %PARA_FFLAGS
24%LD_FLAGS          %BASE_LD %PARA_LD
25
26src::dyn     %SRC_PATH/%DYN
27src::phys    %SRC_PATH/%PHYS
[1302]28src::sisvat  %SISVAT
29src::rrtm    %RRTM
[1]30src::grid    %SRC_PATH/grid
31src::filtrez %SRC_PATH/filtrez
32src::bibio   %SRC_PATH/bibio
[1300]33src::dyn3d_common   %SRC_PATH/dyn3d_common
[1]34src::cosp    %COSP
[895]35src::chem    %CHEM
[1107]36src::aerono  %AERONO
[1]37
[1019]38bld::lib            lmdz
[1]39
40
41bld::outfile_ext::exe    %SUFF_NAME.e
[1019]42bld::target              liblmdz.a
[1]43bld::target              %EXEC%SUFF_NAME.e
[1019]44bld::exe_dep             
[1]45
46
47dir::root            %CONFIG_PATH
48dir::lib             %BASE_CONFIG_PATH
49dir::bin             %ROOT_PATH/bin
50
51#search_src           1
52
53bld::tool::fpp       %FPP
[895]54bld::tool::cpp       %CPP
[1]55bld::tool::fc        %COMPILER
[895]56bld::tool::cc        %C_COMPILER
[1]57bld::tool::ld        %LINK
58bld::tool::ar        %AR
59bld::tool::make      %MAKE
[895]60bld::tool::fflags    %FFLAGS %INCDIR
61bld::tool::cflags    %C_OPTIM %INCDIR
[1]62bld::tool::ldflags   %LD_FLAGS %LIB 
63
[895]64bld::tool::cppflags  %CPP_FLAGS %INCDIR
[1]65bld::tool::fppflags  %FPP_FLAGS %INCDIR
66bld::tool::fppkeys   %CPP_KEY %FPP_DEF
67
[1019]68# Example of how to set specific compiling options for a specific file
69# -> this can be including in the arch.opt file
[1]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# Ignore the following dependencies
79bld::excl_dep        inc::netcdf.inc
80bld::excl_dep        use::netcdf
81bld::excl_dep        use::typesizes
82bld::excl_dep        h::netcdf.inc
83bld::excl_dep        h::mpif.h
84bld::excl_dep        inc::mpif.h
85bld::excl_dep        use::ioipsl
86bld::excl_dep        use::intersurf
87bld::excl_dep        use::mod_prism_proto
88bld::excl_dep        use::mod_prism_def_partition_proto
89bld::excl_dep        use::mod_prism_get_proto
90bld::excl_dep        use::mod_prism_put_proto
[1302]91bld::excl_dep        use::mod_prism
[1300]92bld::excl_dep        use::xios
93bld::excl_dep        use::iaxis
94bld::excl_dep        use::iaxis_attr
95bld::excl_dep        use::icontext_attr
96bld::excl_dep        use::idate
97bld::excl_dep        use::idomain_attr
98bld::excl_dep        use::ifield_attr
99bld::excl_dep        use::ifile_attr
100bld::excl_dep        use::ixml_tree
[1]101
102# Don't generate interface files
103bld::tool::geninterface none
104
105# Allow ".inc" as an extension for CPP include files
106bld::infile_ext::inc  CPP::INCLUDE
107
108# extension for module output
109bld::outfile_ext::mod .mod
110bld::tool::SHELL   /bin/bash
Note: See TracBrowser for help on using the repository browser.