source: LMDZ6/branches/LMDZ_ECRad/bld.cfg @ 5304

Last change on this file since 5304 was 4728, checked in by idelkadi, 13 months ago

Update of ecrad in the LMDZ_ECRad branch of LMDZ:

  • version 1.6.1 of ecrad
  • files are no longer grouped in the same ecrad directory.
  • the structure of ecrad offline is preserved to facilitate updating in LMDZ
  • cfg.bld modified to take into account the new added subdirectories.
  • the interface routines and those added in ecrad are moved to the phylmd directory
  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.4 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 %SRC_PATH/%PHYS/ecrad/radiation
38src::ifsrrtm %SRC_PATH/%PHYS/ecrad/ifsrrtm
39src::ifsaux %SRC_PATH/%PHYS/ecrad/ifsaux
40src::ecradinc %SRC_PATH/%PHYS/ecrad/include
41src::ecradhook %SRC_PATH/%PHYS/ecrad/drhook
42src::ecradutil %SRC_PATH/%PHYS/ecrad/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.