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

Last change on this file since 1044 was 1019, checked in by emillour, 11 years ago

Common dynamics; keep up with updates (seq and ) in LMDZ5 (up tio rev 1845):

  • General stuff:
  • makelmdz_fcm: add options -j # (compile using # threads) and -full, and to keep up

with Earth model, possibility to compile with various versions of orchidee

  • bld.cfg: adaptations to enable compiling using multiple threads
  • build_gcm: adaptations to enable compiling using multiple threads
  • makelmdz: keep up with Earth model: possibility to compile with various versions of orchidee + cosmetic changes + library directory name change
  • bibio:
  • wxios.F90 : Added for possible future use of XIOS library
  • filtrez:
  • mkl_dft_type.f90 & mkl_dfti.f90 : MKL (for MKL FFT) interface definitions
  • filtreg_mod : limit use of FFT to parallel mode
  • mod_filtre_fft.F90 & mod_filtre_fft_lov.F90 : swich to use parallel_lmdz
  • dyn3d:
  • abort_gcm.F : add things for xios
  • advtrac.F90 : minor change in CFL outputs
  • ce0l.F90 : indicesol.h is now module indice_sol_mod
  • comvert.h : cosmetic change on comments
  • gcm.F : add xios and use module indice_sol_mod (for INCA)
  • inigeom.F : move two computations outside loop
  • dyn3dpar:
  • parallel.F90 => parallel_lmdz.F90 : and change all the "use parallel" into "use parallel_lmdz" in all files in dyn3dpar
  • comvert.h : cosmetic change on comments
  • gcm.F : add xios and use module indice_sol_mod (for INCA)
  • leapfrog_p.F : add xios + correction for times in Newtonian case
  • ce0l.F90 : indicesol.h is now module indice_sol_mod
  • inigeom.F : move two computations outside loop

EM

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