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