source: XIOS/dev/branch_openmp/bld.cfg

Last change on this file was 1638, checked in by yushan, 23 months ago

dev on ADA

File size: 3.7 KB
Line 
1# ----------------------- FCM extract configuration file -----------------------
2cfg::type                           bld
3cfg::version                        1.0
4
5
6# ------------------------------------------------------------------------------
7# Build information
8# ------------------------------------------------------------------------------
9
10# Specifying the build directory and src::blitz if necessary.
11inc bld_dir.cfg
12
13%CFLAGS           %BASE_CFLAGS %COMPIL_CFLAGS
14%FFLAGS           %BASE_FFLAGS %COMPIL_FFLAGS
15%LD_FLAGS         %ARCH_LD %BASE_LD
16
17bld::infile_ext::cpp   C::SOURCE
18bld::infile_ext::conf  CPP::INCLUDE
19bld::infile_ext::hpp   CPP::INCLUDE
20
21# IMPORTANT: as the build directory may not necessarily coincide with the source directory,
22# each source subfolder should be declared individually
23search_src           false
24src::xios                               $PWD/src
25src::xios::config                       $PWD/src/config
26src::xios::date                         $PWD/src/date
27src::xios::filter                       $PWD/src/filter
28src::xios::functor                      $PWD/src/functor
29src::xios::interface::c                 $PWD/src/interface/c
30src::xios::interface::c_attr            $PWD/src/interface/c_attr
31src::xios::interface::fortran           $PWD/src/interface/fortran
32src::xios::interface::fortran_attr      $PWD/src/interface/fortran_attr
33src::xios::io                           $PWD/src/io
34src::xios::node                         $PWD/src/node
35src::xios::parse_expr                   $PWD/src/parse_expr
36src::xios::test                         $PWD/src/test
37src::xios::transformation               $PWD/src/transformation
38src::xios::transformation::Functions    $PWD/src/transformation/Functions
39src::xios::type                         $PWD/src/type
40
41src::netcdf $PWD/extern/netcdf4
42src::remap $PWD/extern/remap/src
43src::ep $PWD/extern/src_ep_dev
44#src::ep $PWD/extern/src_ep_dev2
45
46bld::lib xios
47#bld::target libxios.a
48#bld::target generate_fortran_interface.exe
49#bld::target test_remap.exe
50#bld::target xios_server.exe
51#bld::target test_regular.exe
52#bld::target test_xios2_cmip6.exe
53#bld::target test_new_features.exe test_unstruct_complete.exe
54#bld::target test_remap.exe#bld::target test_complete.exe
55#bld::target test_complete.exe
56#bld::target test_client.exe
57bld::target test_omp.exe
58#bld::target test_unstruct_complete.exe
59#bld::target test_unstructured.exe
60bld::exe_dep
61
62bld::tool::cc        %CCOMPILER
63bld::tool::fc        %FCOMPILER
64bld::tool::fpp       %FPP
65bld::tool::cpp       %CPP
66bld::tool::cppflags  %CBASE_INC -I${PWD}/extern/src_netcdf -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I${PWD}/extern/blitz/include 
67bld::tool::fppflags  %BASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include 
68bld::tool::ld        %LINKER
69bld::tool::ldflags   %LD_FLAGS 
70bld::tool::cflags    %CFLAGS %CBASE_INC -I${PWD}/extern/src_netcdf -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I${PWD}/extern/blitz/include -I${PWD}/extern/src_ep_dev 
71#bld::tool::cflags    %CFLAGS %CBASE_INC -I${PWD}/extern/src_netcdf -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I${PWD}/extern/blitz/include -I${PWD}/extern/src_ep_dev2
72bld::tool::fflags    %FFLAGS %FBASE_INC 
73bld::tool::cppkeys   %CPP_KEY
74bld::tool::fppkeys   %CPP_KEY
75bld::tool::make      %MAKE
76
77# Pre-process code before analysing dependencies
78bld::pp    false         
79bld::pp::xios::interface::fortran              true
80bld::pp::xios::interface::fortran_attr         true
81bld::excl_dep        use::mod_prism_get_comm
82bld::excl_dep        use::mod_prism_get_localcomm_proto
83bld::excl_dep        use::mod_prism_proto
84bld::excl_dep        use::mod_prism
85bld::excl_dep        use::netcdf
86bld::excl_dep        inc::mpif.h
87bld::excl_dep        use::omp_lib
Note: See TracBrowser for help on using the repository browser.