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

Last change on this file since 1300 was 1300, checked in by emillour, 10 years ago

Common dynamics:
Some updates to keep up with LMDZ5 Earth model evolution (up to LMDZ5 rev 1955).
Main change is the introduction of a "dyn3d_common" directory
to store files common to dyn3d and dyn3dpar.
See file "DOC/chantiers/commit_importants.log" for detailed list
of changes. These changes do not change results on test cases.
EM

File size: 3.0 KB
Line 
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
12# C preprocessor
13%CPP cpp
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
28#src::sisvat  %SRC_PATH/%PHYS/sisvat
29src::grid    %SRC_PATH/grid
30src::filtrez %SRC_PATH/filtrez
31src::bibio   %SRC_PATH/bibio
32src::dyn3d_common   %SRC_PATH/dyn3d_common
33src::cosp    %COSP
34src::chem    %CHEM
35src::aerono  %AERONO
36
37bld::lib            lmdz
38
39
40bld::outfile_ext::exe    %SUFF_NAME.e
41bld::target              liblmdz.a
42bld::target              %EXEC%SUFF_NAME.e
43bld::exe_dep             
44
45
46dir::root            %CONFIG_PATH
47dir::lib             %BASE_CONFIG_PATH
48dir::bin             %ROOT_PATH/bin
49
50#search_src           1
51
52bld::tool::fpp       %FPP
53bld::tool::cpp       %CPP
54bld::tool::fc        %COMPILER
55bld::tool::cc        %C_COMPILER
56bld::tool::ld        %LINK
57bld::tool::ar        %AR
58bld::tool::make      %MAKE
59bld::tool::fflags    %FFLAGS %INCDIR
60bld::tool::cflags    %C_OPTIM %INCDIR
61bld::tool::ldflags   %LD_FLAGS %LIB 
62
63bld::tool::cppflags  %CPP_FLAGS %INCDIR
64bld::tool::fppflags  %FPP_FLAGS %INCDIR
65bld::tool::fppkeys   %CPP_KEY %FPP_DEF
66
67# Example of how to set specific compiling options for a specific file
68# -> this can be including in the arch.opt file
69#bld::tool::fflags::phys::readaerosol         %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt -pi auto
70
71
72inc arch.opt
73
74# Pre-process code before analysing dependencies
75bld::pp              1
76
77# Ignore the following dependencies
78bld::excl_dep        inc::netcdf.inc
79bld::excl_dep        use::netcdf
80bld::excl_dep        use::typesizes
81bld::excl_dep        h::netcdf.inc
82bld::excl_dep        h::mpif.h
83bld::excl_dep        inc::mpif.h
84bld::excl_dep        use::ioipsl
85bld::excl_dep        use::intersurf
86bld::excl_dep        use::mod_prism_proto
87bld::excl_dep        use::mod_prism_def_partition_proto
88bld::excl_dep        use::mod_prism_get_proto
89bld::excl_dep        use::mod_prism_put_proto
90bld::excl_dep        use::xios
91bld::excl_dep        use::iaxis
92bld::excl_dep        use::iaxis_attr
93bld::excl_dep        use::icontext_attr
94bld::excl_dep        use::idate
95bld::excl_dep        use::idomain_attr
96bld::excl_dep        use::ifield_attr
97bld::excl_dep        use::ifile_attr
98bld::excl_dep        use::ixml_tree
99
100# Don't generate interface files
101bld::tool::geninterface none
102
103# Allow ".inc" as an extension for CPP include files
104bld::infile_ext::inc  CPP::INCLUDE
105
106# extension for module output
107bld::outfile_ext::mod .mod
108bld::tool::SHELL   /bin/bash
Note: See TracBrowser for help on using the repository browser.