source: LMDZ6/trunk/bld.cfg.ecrad @ 4976

Last change on this file since 4976 was 4918, checked in by Laurent Fairhead, 7 months ago

Reintegrated NetCDF95 in LMDZ so that it is compiled and made available by the makelmdz_fcm script.
The makelmdz_fcm creates the libnetcdf95 library and copies it in the tools/netcdf/lib directory, copying
the mod files in the tools/netcdf/include library.

File size: 3.6 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::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#dir::lib             %BASE_CONFIG_PATH
61dir::bin             %ROOT_PATH/bin
62
63#search_src           1
64
65bld::tool::fpp       %FPP
66bld::tool::fc        %COMPILER
67bld::tool::ld        %LINK
68bld::tool::ar        %AR
69bld::tool::arflags   %ARFLAGS
70bld::tool::make      %MAKE
71bld::tool::fflags    %FFLAGS %INCDIR
72bld::tool::ldflags   %LD_FLAGS %LIB 
73
74bld::tool::cppflags  %FPP_FLAGS %INCDIR
75bld::tool::fppflags  %FPP_FLAGS %INCDIR
76bld::tool::fppkeys   %CPP_KEY %FPP_DEF
77
78
79# Example of how to set specific compiling options for a specific file
80# -> this can be including in the arch.opt file
81#bld::tool::fflags::phys::readaerosol         %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt -pi auto
82
83
84inc arch.opt
85
86# Pre-process code before analysing dependencies
87bld::pp              1
88
89
90# Ignore the following dependencies
91bld::excl_dep        inc::netcdf.inc
92bld::excl_dep        use::netcdf
93bld::excl_dep        use::typesizes
94bld::excl_dep        h::netcdf.inc
95bld::excl_dep        h::mpif.h
96bld::excl_dep        inc::mpif.h
97bld::excl_dep        use::ioipsl
98bld::excl_dep        use::intersurf
99bld::excl_dep        use::mod_prism_proto
100bld::excl_dep        use::mod_prism_def_partition_proto
101bld::excl_dep        use::mod_prism_get_proto
102bld::excl_dep        use::mod_prism_put_proto
103bld::excl_dep        use::mod_prism
104bld::excl_dep        use::xios
105bld::excl_dep        use::iaxis
106bld::excl_dep        use::iaxis_attr
107bld::excl_dep        use::icontext_attr
108bld::excl_dep        use::idate
109bld::excl_dep        use::idomain_attr
110bld::excl_dep        use::ifield_attr
111bld::excl_dep        use::ifile_attr
112bld::excl_dep        use::ixml_tree
113#bld::excl_dep        use::netcdf95
114# The following for INCA used with CPL
115bld::excl_dep        use::incaoasis
116
117# Don't generate interface files
118bld::tool::geninterface none
119
120# Allow ".inc" as an extension for CPP include files
121bld::infile_ext::inc  CPP::INCLUDE
122
123# extension for module output
124bld::outfile_ext::mod .mod
125bld::tool::SHELL   /bin/bash
Note: See TracBrowser for help on using the repository browser.