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

Last change on this file since 3086 was 2779, checked in by romain.vande, 2 years ago

LMDZ_COMMON:
First commit of PEM. Small writting improvements will follow.
Only works with GCM slopes parametrisation of Lucas L.
Example to compile : ./makelmdz_fcm -arch X64_OCCIGEN -arch_path ../ARCH -p mars -d 32x24x26 pem
RV

File size: 3.4 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
[1403]28src::dyn_phys %DYN_PHYS
29src::dyn_phys_sub %DYN_PHYS_SUB
[1302]30src::sisvat  %SISVAT
31src::rrtm    %RRTM
[1650]32src::dust    %DUST
33src::strataer %STRATAER
[1]34src::grid    %SRC_PATH/grid
[1403]35src::filtrez %FILTRE
[1406]36src::misc   %SRC_PATH/misc
[1403]37src::dyn3d_common   %DYN_COMMON
[1521]38src::phy_common %PHY_COMMON
[1]39src::cosp    %COSP
[895]40src::chem    %CHEM
[1666]41src::cloud   %CLOUD
[1793]42src::muphy   %MUPHY
[1107]43src::aerono  %AERONO
[2779]44src::evolution  %EVOLUTION
[1]45
[1793]46# IMPORTANT: muphytitan package hates floating point promotion !
47# This is unfortunately specific to Titan microphysic package !!
48bld::tool::fflags::muphy  -c %INCDIR %COMPIL_FFLAGS %PARA_FFLAGS
49
[1019]50bld::lib            lmdz
[1]51
52
[1540]53bld::outfile_ext::exe    %SUFF_NAME
54bld::target              liblmdz.a %EXEC%SUFF_NAME
[1019]55bld::exe_dep             
[1]56
57
58dir::root            %CONFIG_PATH
[1540]59#dir::lib             %BASE_CONFIG_PATH
[1]60dir::bin             %ROOT_PATH/bin
61
62#search_src           1
63
64bld::tool::fpp       %FPP
[895]65bld::tool::cpp       %CPP
[1]66bld::tool::fc        %COMPILER
[895]67bld::tool::cc        %C_COMPILER
[1]68bld::tool::ld        %LINK
69bld::tool::ar        %AR
70bld::tool::make      %MAKE
[895]71bld::tool::fflags    %FFLAGS %INCDIR
72bld::tool::cflags    %C_OPTIM %INCDIR
[1]73bld::tool::ldflags   %LD_FLAGS %LIB 
74
[895]75bld::tool::cppflags  %CPP_FLAGS %INCDIR
[1]76bld::tool::fppflags  %FPP_FLAGS %INCDIR
[1961]77bld::tool::cppkeys   %CPP_KEY %CPP_DEF
[1]78bld::tool::fppkeys   %CPP_KEY %FPP_DEF
79
[1019]80# Example of how to set specific compiling options for a specific file
81# -> this can be including in the arch.opt file
[1]82#bld::tool::fflags::phys::readaerosol         %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt -pi auto
83
84
85inc arch.opt
86
87# Pre-process code before analysing dependencies
88bld::pp              1
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
[1302]103bld::excl_dep        use::mod_prism
[1300]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
[1]113
114# Don't generate interface files
115bld::tool::geninterface none
116
117# Allow ".inc" as an extension for CPP include files
118bld::infile_ext::inc  CPP::INCLUDE
119
120# extension for module output
121bld::outfile_ext::mod .mod
122bld::tool::SHELL   /bin/bash
Note: See TracBrowser for help on using the repository browser.