source: LMDZ5/trunk/bld.cfg @ 1898

Last change on this file since 1898 was 1897, checked in by Ehouarn Millour, 11 years ago

Getting XIOS to work in MPI, OpenMP and mixed MPI/OpenMP modes. Use "-io xios" option with makelmdz or makelmdz_fcm to enable XIOS (this doesn't deactivate IOIPSL outputs; to suppress IOIPSL outputs, add cpp flag CPP_NO_IOIPSL).
EM

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.9 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
13inc arch.fcm
14inc config.fcm
15
16%CONFIG_NAME       %{ARCH}%SUFF_NAME
17%BASE_CONFIG_PATH  %LIBO/%CONFIG_NAME
18%CONFIG_PATH       %BASE_CONFIG_PATH/.config
19%SRC_PATH          %LIBF
20
21%FFLAGS            %BASE_FFLAGS %COMPIL_FFLAGS %PARA_FFLAGS
22%LD_FLAGS          %BASE_LD %PARA_LD
23
24src::dyn     %SRC_PATH/%DYN
25src::phys    %SRC_PATH/%PHYS
26#src::sisvat  %SRC_PATH/%PHYS/sisvat
27src::grid    %SRC_PATH/grid
28src::filtrez %SRC_PATH/filtrez
29src::bibio   %SRC_PATH/bibio
30src::cosp    %COSP
31src::ext_src %EXT_SRC
32
33bld::lib            lmdz
34
35bld::outfile_ext::exe    %SUFF_NAME.e
36bld::target              liblmdz.a
37bld::target              %EXEC%SUFF_NAME.e
38bld::exe_dep             
39
40
41dir::root            %CONFIG_PATH
42dir::lib             %BASE_CONFIG_PATH
43dir::bin             %ROOT_PATH/bin
44
45#search_src           1
46
47bld::tool::fpp       %FPP
48bld::tool::fc        %COMPILER
49bld::tool::ld        %LINK
50bld::tool::ar        %AR
51bld::tool::make      %MAKE
52bld::tool::fflags    %FFLAGS %INCDIR
53bld::tool::ldflags   %LD_FLAGS %LIB 
54
55bld::tool::cppflags  %FPP_FLAGS %INCDIR
56bld::tool::fppflags  %FPP_FLAGS %INCDIR
57bld::tool::fppkeys   %CPP_KEY %FPP_DEF
58
59
60# Example of how to set specific compiling options for a specific file
61# -> this can be including in the arch.opt file
62#bld::tool::fflags::phys::readaerosol         %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt -pi auto
63
64
65inc arch.opt
66
67# Pre-process code before analysing dependencies
68bld::pp              1
69
70
71# Ignore the following dependencies
72bld::excl_dep        inc::netcdf.inc
73bld::excl_dep        use::netcdf
74bld::excl_dep        use::typesizes
75bld::excl_dep        h::netcdf.inc
76bld::excl_dep        h::mpif.h
77bld::excl_dep        inc::mpif.h
78bld::excl_dep        use::ioipsl
79bld::excl_dep        use::intersurf
80bld::excl_dep        use::mod_prism_proto
81bld::excl_dep        use::mod_prism_def_partition_proto
82bld::excl_dep        use::mod_prism_get_proto
83bld::excl_dep        use::mod_prism_put_proto
84bld::excl_dep        use::xios
85bld::excl_dep        use::iaxis
86bld::excl_dep        use::iaxis_attr
87bld::excl_dep        use::icontext_attr
88bld::excl_dep        use::idate
89bld::excl_dep        use::idomain_attr
90bld::excl_dep        use::ifield_attr
91bld::excl_dep        use::ifile_attr
92bld::excl_dep        use::ixml_tree
93
94# Don't generate interface files
95bld::tool::geninterface none
96
97# Allow ".inc" as an extension for CPP include files
98bld::infile_ext::inc  CPP::INCLUDE
99
100# extension for module output
101bld::outfile_ext::mod .mod
102bld::tool::SHELL   /bin/bash
103bld::tool::SHELL   /bin/ksh
Note: See TracBrowser for help on using the repository browser.