1 | # ----------------------- FCM extract configuration file ----------------------- |
---|
2 | cfg::type bld |
---|
3 | cfg::version 1.0 |
---|
4 | |
---|
5 | |
---|
6 | # ------------------------------------------------------------------------------ |
---|
7 | # Build information |
---|
8 | # ------------------------------------------------------------------------------ |
---|
9 | |
---|
10 | #Default value of FPP fortran preprocessor |
---|
11 | %FPP cpp |
---|
12 | |
---|
13 | inc arch.fcm |
---|
14 | inc 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 | |
---|
24 | src::dyn %SRC_PATH/%DYN |
---|
25 | src::phys %SRC_PATH/%PHYS |
---|
26 | src::grid %SRC_PATH/grid |
---|
27 | src::filtrez %SRC_PATH/filtrez |
---|
28 | src::bibio %SRC_PATH/bibio |
---|
29 | src::cosp %COSP |
---|
30 | src::ext_src %EXT_SRC |
---|
31 | |
---|
32 | bld::lib::dyn %DYN |
---|
33 | bld::lib::phys %PHYS |
---|
34 | bld::lib::grid grid |
---|
35 | bld::lib::filtrez filtrez |
---|
36 | bld::lib::bibio bibio |
---|
37 | bld::lib::cosp cosp |
---|
38 | bld::lib: ext_src ext_src |
---|
39 | |
---|
40 | |
---|
41 | bld::outfile_ext::exe %SUFF_NAME.e |
---|
42 | bld::target lib%{DYN}.a lib%{PHYS}.a libgrid.a libfiltrez.a libbibio.a libcosp.a libext_src.a |
---|
43 | bld::target %EXEC%SUFF_NAME.e |
---|
44 | bld::exe_dep %{DYN} %{PHYS} grid filtrez bibio cos ext_src |
---|
45 | |
---|
46 | |
---|
47 | dir::root %CONFIG_PATH |
---|
48 | dir::lib %BASE_CONFIG_PATH |
---|
49 | dir::bin %ROOT_PATH/bin |
---|
50 | |
---|
51 | #search_src 1 |
---|
52 | |
---|
53 | bld::tool::fpp %FPP |
---|
54 | bld::tool::fc %COMPILER |
---|
55 | bld::tool::ld %LINK |
---|
56 | bld::tool::ar %AR |
---|
57 | bld::tool::make %MAKE |
---|
58 | bld::tool::fflags %FFLAGS %INCDIR |
---|
59 | bld::tool::ldflags %LD_FLAGS %LIB |
---|
60 | |
---|
61 | bld::tool::cppflags %FPP_FLAGS %INCDIR |
---|
62 | bld::tool::fppflags %FPP_FLAGS %INCDIR |
---|
63 | bld::tool::fppkeys %CPP_KEY %FPP_DEF |
---|
64 | |
---|
65 | |
---|
66 | #bld::tool::fflags::phys::readaerosol %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt -pi auto |
---|
67 | #bld::tool::fflags::phys::aeropt_2bands %BASE_FFLAGS %PROD_FFLAGS %INCDIR |
---|
68 | #bld::tool::fflags::phys::radiation_AR4 %BASE_FFLAGS %PROD_FFLAGS1 %INCDIR -C hopt -Wf,-O,extendreorder |
---|
69 | #bld::tool::fflags::phys::radiation_AR4_param %BASE_FFLAGS %PROD_FFLAGS1 %INCDIR -C hopt -f3 |
---|
70 | #bld::tool::fflags::phys::fisrtilp %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt |
---|
71 | #bld::tool::fflags::phys::cv30_routines %BASE_FFLAGS %PROD_FFLAGS %INCDIR -Wf,-O,extendreorder |
---|
72 | #bld::tool::fflags::phys::cvltr %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt |
---|
73 | #bld::tool::fflags::phys::clouds_gno %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt |
---|
74 | #bld::tool::fflags::dyn::vlsplt_p %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt |
---|
75 | #bld::tool::fflags::dyn::groupeun_p %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt |
---|
76 | |
---|
77 | |
---|
78 | inc arch.opt |
---|
79 | |
---|
80 | # Pre-process code before analysing dependencies |
---|
81 | bld::pp 1 |
---|
82 | |
---|
83 | |
---|
84 | # Ignore the following dependencies |
---|
85 | bld::excl_dep inc::netcdf.inc |
---|
86 | bld::excl_dep use::netcdf |
---|
87 | bld::excl_dep use::typesizes |
---|
88 | bld::excl_dep h::netcdf.inc |
---|
89 | bld::excl_dep h::mpif.h |
---|
90 | bld::excl_dep inc::mpif.h |
---|
91 | bld::excl_dep use::ioipsl |
---|
92 | bld::excl_dep use::intersurf |
---|
93 | bld::excl_dep use::mod_prism_proto |
---|
94 | bld::excl_dep use::mod_prism_def_partition_proto |
---|
95 | bld::excl_dep use::mod_prism_get_proto |
---|
96 | bld::excl_dep use::mod_prism_put_proto |
---|
97 | bld::excl_dep use::mkl_dfti |
---|
98 | |
---|
99 | # Don't generate interface files |
---|
100 | bld::tool::geninterface none |
---|
101 | |
---|
102 | # Allow ".inc" as an extension for CPP include files |
---|
103 | bld::infile_ext::inc CPP::INCLUDE |
---|
104 | |
---|
105 | # extension for module output |
---|
106 | bld::outfile_ext::mod .mod |
---|
107 | bld::tool::SHELL /bin/bash |
---|