source: LMDZ4/trunk/bld.cfg

Last change on this file was 1425, checked in by lguez, 14 years ago

Replaced Numerical Recipes procedures for spline interpolation (not in
the public domain) by procedures from the Pchip package in the Slatec
library. This only affects the program "ce0l", not the program
"gcm". Tested on Brodie SX8 with "-debug" and "-prod", "-parallel
none" and "-parallel mpi". "start.nc" and "limit.nc" are
changed. "startphy.nc" is not changed. The relative change is of order
1e-7 or less. The revision makes the program faster (tested on Brodie
with "-prod -d 144x142x39", CPU time is 38 s, instead of 54
s). Procedures from Slatec are untouched, except for
"i1mach.F". Created procedures "pchfe_95" and "pchsp_95" which are
wrappers for "pchfe" and "pchsp" from Slatec. "pchfe_95" and
"pchsp_95" have a safer and simpler interface.

Replaced "make" by "sxgmake" in "arch-SX8_BRODIE.fcm". Added files for
compilation by FCM with "g95".

In "arch-linux-32bit.fcm", replaced "pgf90" by "pgf95". There was no
difference between "dev" and "debug" so added "-O1" to "dev". Added
debugging options. Removed "-Wl,-Bstatic
-L/usr/lib/gcc-lib/i386-linux/2.95.2", which usually produces an error
at link-time.

Bash is now ubiquitous while KornShell? is not so use Bash instead of
KornShell? in FCM.

Replaced some statements "write(6,*)" by "write(lunout,*)". Replaced
"stop" by "stop 1" in the case where "abort_gcm" is called with "ierr
/= 0". Removed "stop" statements at the end of procedures
"limit_netcdf" and main program "ce0l" (why not let the program end
normally?).

Made some arrays automatic instead of allocatable in "start_inter_3d".

Zeroed "wake_pe", "fm_therm", "entr_therm" and "detr_therm" in
"dyn3dpar/etat0_netcdf.F90". The parallel and sequential results of
"ce0l" are thus identical.

  • 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
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
26src::grid    %SRC_PATH/grid
27src::filtrez %SRC_PATH/filtrez
28src::bibio   %SRC_PATH/bibio
29src::cosp    %COSP
30
31bld::lib::dyn      %DYN
32bld::lib::phys     %PHYS
33bld::lib::grid      grid
34bld::lib::filtrez   filtrez
35bld::lib::bibio     bibio
36bld::lib::cosp      cosp
37
38
39bld::outfile_ext::exe    %SUFF_NAME.e
40bld::target              lib%{DYN}.a lib%{PHYS}.a libgrid.a libfiltrez.a libbibio.a libcosp.a
41bld::target              %EXEC%SUFF_NAME.e
42bld::exe_dep             %{DYN} %{PHYS} grid filtrez bibio cosp
43
44
45dir::root            %CONFIG_PATH
46dir::lib             %BASE_CONFIG_PATH
47dir::bin             %ROOT_PATH/bin
48
49#search_src           1
50
51bld::tool::fpp       %FPP
52bld::tool::fc        %COMPILER
53bld::tool::ld        %LINK
54bld::tool::ar        %AR
55bld::tool::make      %MAKE
56bld::tool::fflags    %FFLAGS %INCDIR
57bld::tool::ldflags   %LD_FLAGS %LIB 
58
59bld::tool::cppflags  %FPP_FLAGS %INCDIR
60bld::tool::fppflags  %FPP_FLAGS %INCDIR
61bld::tool::fppkeys   %CPP_KEY %FPP_DEF
62
63
64#bld::tool::fflags::phys::readaerosol         %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt -pi auto
65#bld::tool::fflags::phys::aeropt_2bands       %BASE_FFLAGS %PROD_FFLAGS  %INCDIR
66#bld::tool::fflags::phys::radiation_AR4       %BASE_FFLAGS %PROD_FFLAGS1 %INCDIR -C hopt -Wf,-O,extendreorder
67#bld::tool::fflags::phys::radiation_AR4_param %BASE_FFLAGS %PROD_FFLAGS1 %INCDIR -C hopt -f3
68#bld::tool::fflags::phys::fisrtilp            %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt
69#bld::tool::fflags::phys::cv30_routines       %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -Wf,-O,extendreorder
70#bld::tool::fflags::phys::cvltr               %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt
71#bld::tool::fflags::phys::clouds_gno          %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt
72#bld::tool::fflags::dyn::vlsplt_p             %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt
73#bld::tool::fflags::dyn::groupeun_p           %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt
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::mkl_dfti
96
97# Don't generate interface files
98bld::tool::geninterface none
99
100# Allow ".inc" as an extension for CPP include files
101bld::infile_ext::inc  CPP::INCLUDE
102
103# extension for module output
104bld::outfile_ext::mod .mod
105bld::tool::SHELL   /bin/bash
Note: See TracBrowser for help on using the repository browser.