source: XIOS/dev/dev_trunk_omp/bld.cfg @ 2338

Last change on this file since 2338 was 1745, checked in by yushan, 5 years ago

Generic_testcase: build flag --omp to enable EP with intelmpi. --omp2 to enable EP with openmpi. tested on Irene with compiler=intel17, mpi=intelmpi&openmpi, with and without EP

File size: 3.6 KB
RevLine 
[245]1# ----------------------- FCM extract configuration file -----------------------
2cfg::type                           bld
3cfg::version                        1.0
4
5
6# ------------------------------------------------------------------------------
7# Build information
8# ------------------------------------------------------------------------------
9
[1510]10# Specifying the build directory and src::blitz if necessary.
[1497]11inc bld_dir.cfg
[245]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
[1497]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
[245]40
[410]41src::netcdf $PWD/extern/netcdf4
[688]42src::remap $PWD/extern/remap/src
[1605]43src::src_ep_dev $PWD/extern/src_ep_dev
[291]44bld::lib xios
[709]45bld::target libxios.a 
[1446]46#bld::target generate_fortran_interface.exe
[1280]47#bld::target test_remap.exe
[1628]48bld::target xios_server.exe 
[1280]49#bld::target test_regular.exe
50#bld::target test_xios2_cmip6.exe
[983]51#bld::target test_new_features.exe test_unstruct_complete.exe
[1608]52bld::target test_remap.exe
53bld::target test_remap_omp.exe
[1661]54bld::target test_complete.exe
[1605]55bld::target test_complete_omp.exe
[1665]56bld::target test_client.exe
[1605]57bld::target test_omp.exe
[1679]58bld::target generic_testcase.exe
[1646]59#bld::target test_omp2.exe
60#bld::target test_send.exe
61#bld::target test_send2.exe
[1139]62#bld::target test_unstruct_complete.exe
63#bld::target test_unstructured.exe
[245]64bld::exe_dep
65
66bld::tool::cc        %CCOMPILER
67bld::tool::fc        %FCOMPILER
[395]68bld::tool::fpp       %FPP
69bld::tool::cpp       %CPP
[410]70bld::tool::cppflags  %CBASE_INC -I${PWD}/extern/src_netcdf -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I${PWD}/extern/blitz/include 
[395]71bld::tool::fppflags  %BASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include 
[245]72bld::tool::ld        %LINKER
73bld::tool::ldflags   %LD_FLAGS 
[1745]74bld::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
[329]75bld::tool::fflags    %FFLAGS %FBASE_INC 
[287]76bld::tool::cppkeys   %CPP_KEY
77bld::tool::fppkeys   %CPP_KEY
[395]78bld::tool::make      %MAKE
[245]79
80# Pre-process code before analysing dependencies
[327]81bld::pp    false         
[1497]82bld::pp::xios::interface::fortran              true
83bld::pp::xios::interface::fortran_attr         true
[287]84bld::excl_dep        use::mod_prism_get_comm
[300]85bld::excl_dep        use::mod_prism_get_localcomm_proto
[287]86bld::excl_dep        use::mod_prism_proto
[475]87bld::excl_dep        use::mod_prism
[660]88bld::excl_dep        use::netcdf
[245]89bld::excl_dep        inc::mpif.h
[1605]90bld::excl_dep        use::omp_lib
Note: See TracBrowser for help on using the repository browser.