[Trilinos-Users] build error

David Hysom hysom1 at llnl.gov
Mon Nov 16 12:17:16 EST 2015


Hi,

I'm attempting to build trilinos-12.4.2 and am getting the following errors:

[ 24%] Building CXX object 
packages/teuchos/comm/src/CMakeFiles/teuchoscomm.dir/Teuchos_MpiReductionOpSetter.cpp.o
/p/lscratchd/hysom/trilinos-12.4.2-Source/packages/teuchos/comm/src/Teuchos_MpiReductionOpSetter.cpp: 
In function 'void {anonymous}::createReductOp()':
/p/lscratchd/hysom/trilinos-12.4.2-Source/packages/teuchos/comm/src/Teuchos_MpiReductionOpSetter.cpp:171:43: 
error: 'MPI_Comm_create_keyval' was not declared in this scope
                                  &key, NULL);
                                            ^
/p/lscratchd/hysom/trilinos-12.4.2-Source/packages/teuchos/comm/src/Teuchos_MpiReductionOpSetter.cpp:184:52: 
error: 'MPI_Comm_set_attr' was not declared in this scope
    err = MPI_Comm_set_attr (MPI_COMM_SELF, key, &val);
                                                     ^
/p/lscratchd/hysom/trilinos-12.4.2-Source/packages/teuchos/comm/src/Teuchos_MpiReductionOpSetter.cpp:230:36: 
error: 'MPI_Comm_free_keyval' was not declared in this scope
    (void) MPI_Comm_free_keyval (&key);
                                     ^
make[2]: *** 
[packages/teuchos/comm/src/CMakeFiles/teuchoscomm.dir/Teuchos_MpiReductionOpSetter.cpp.o] 
Error 1
make[1]: *** [packages/teuchos/comm/src/CMakeFiles/teuchoscomm.dir/all] 
Error 2
make: *** [all] Error 2


I've successfully built earlier versions, and have never seen this error.
Can you offer any advice?

thanks, David
-------------- next part --------------

Configuring Trilinos build directory

-- PROJECT_SOURCE_DIR='/p/lscratchd/hysom/trilinos-12.4.2-Source'
-- PROJECT_BINARY_DIR='/p/lscratchd/hysom/build'
-- Trilinos_TRIBITS_DIR='/p/lscratchd/hysom/trilinos-12.4.2-Source/cmake/tribits'
-- TriBITS_VERSION_STRING='0.9 (Dev)'
-- CMAKE_VERSION='3.0.2'
-- CMAKE_HOST_SYSTEM_NAME='Linux'
-- Trilinos_HOSTNAME='cab687'
-- Found PythonInterp: /usr/local/bin/python2.6 (Required is at least version "2.4") 
-- Python version 2.6
-- PYTHON_EXECUTABLE='/usr/local/bin/python2.6'

Setting up major user options ...


***
*** Warning: Setting Trilinos_ENABLE_PyTrilinos=OFF because BUILD_SHARED_LIBS=OFF!
***

--   Setting Trilinos_ENABLE_TriKota=OFF because '/p/lscratchd/hysom/trilinos-12.4.2-Source/packages/TriKota/Dakota' does not exit!

Reading list of native packages from /p/lscratchd/hysom/trilinos-12.4.2-Source/PackagesList.cmake

-- Trilinos_NUM_PACKAGES='58'

Reading list of native TPLs from /p/lscratchd/hysom/trilinos-12.4.2-Source/TPLsList.cmake

-- Trilinos_NUM_TPLS='90'

Processing Project, Repository, and Package dependency files and building internal dependencies graph ...

-- Trilinos_NUM_SE_PACKAGES='140'

Explicitly enabled packages on input (by user):  Kokkos Epetra Tpetra EpetraExt Ifpack Belos Anasazi Ifpack2 8

Explicitly enabled SE packages on input (by user):  Kokkos Epetra Tpetra EpetraExt Ifpack Belos Anasazi Ifpack2 8

Explicitly disabled packages on input (by user or by default):  ThreadPool Domi Trios TriKota ForTrilinos PyTrilinos Optika 7

Explicitly disabled SE packages on input (by user or by default):  ThreadPool KokkosExample Domi Trioscommsplitter Triossupport Triosnnti Triosnssi Triosprograms Triosexamples Triostests Triosnetcdf-service Trios ShyLUTacho ShyLUGTS TriKota IntrepidIntrepid2 STKExp ForTrilinos PyTrilinos Optika 20

Explicitly enabled TPLs on input (by user):  MPI BLAS LAPACK 3

Explicitly disabled TPLs on input (by user or by default):  TBB Pthread 2

Disabling all packages that have a required dependency on disabled TPLs and optional package TPL support based on TPL_ENABLE_<TPL>=OFF ...


Disabling subpackages for hard disables of parent packages due to Trilinos_ENABLE_<PARENT_PACKAGE>=OFF ...


Disabling forward required SE packages and optional intra-package support that have a dependancy on disabled SE packages Trilinos_ENABLE_<TRIBITS_PACKAGE>=OFF ...

-- Setting Trilinos_ENABLE_STKSearch=OFF because STKSearch has a required library dependence on disabled package ThreadPool
-- Setting Kokkos_ENABLE_KokkosExample=OFF because Kokkos has an optional library dependence on disabled package KokkosExample
-- Setting Trilinos_ENABLE_STKSearchUtil=OFF because STKSearchUtil has a required library dependence on disabled package STKSearch
-- Setting Trilinos_ENABLE_STKUnit_tests=OFF because STKUnit_tests has a required library dependence on disabled package STKSearch
-- Setting STKTransfer_ENABLE_TESTS=OFF because STKTransfer has a required test/example dependence on disabled package STKSearch
-- Setting STKTransfer_ENABLE_EXAMPLES=OFF because STKTransfer has a required test/example dependence on disabled package STKSearch

Enabling subpackages for hard enables of parent packages due to Trilinos_ENABLE_<PARENT_PACKAGE>=ON ...

-- Setting subpackage enable Trilinos_ENABLE_KokkosCore=ON because parent package Trilinos_ENABLE_Kokkos=ON
-- Setting subpackage enable Trilinos_ENABLE_KokkosContainers=ON because parent package Trilinos_ENABLE_Kokkos=ON
-- Setting subpackage enable Trilinos_ENABLE_KokkosAlgorithms=ON because parent package Trilinos_ENABLE_Kokkos=ON
-- Setting subpackage enable Trilinos_ENABLE_TpetraClassic=ON because parent package Trilinos_ENABLE_Tpetra=ON
-- Setting subpackage enable Trilinos_ENABLE_TpetraKernels=ON because parent package Trilinos_ENABLE_Tpetra=ON
-- Setting subpackage enable Trilinos_ENABLE_TpetraTSQR=ON because parent package Trilinos_ENABLE_Tpetra=ON
-- Setting subpackage enable Trilinos_ENABLE_TpetraCore=ON because parent package Trilinos_ENABLE_Tpetra=ON

Enabling all required upstream SE packages for current set of enabled packages ...

-- Setting Trilinos_ENABLE_Teuchos=ON because Ifpack2 has a required dependence on Teuchos
-- Setting Trilinos_ENABLE_Galeri=ON because Ifpack2 has a required dependence on Galeri
-- Setting Trilinos_ENABLE_TeuchosKokkosCompat=ON because TpetraCore has a required dependence on TeuchosKokkosCompat
-- Setting Trilinos_ENABLE_TeuchosKokkosComm=ON because TpetraCore has a required dependence on TeuchosKokkosComm
-- Setting Trilinos_ENABLE_TeuchosCore=ON because TpetraKernels has a required dependence on TeuchosCore
-- Setting Trilinos_ENABLE_TeuchosComm=ON because TpetraKernels has a required dependence on TeuchosComm
-- Setting Trilinos_ENABLE_TeuchosParameterList=ON because Teuchos has a required dependence on TeuchosParameterList
-- Setting Trilinos_ENABLE_TeuchosNumerics=ON because Teuchos has a required dependence on TeuchosNumerics
-- Setting Trilinos_ENABLE_TeuchosRemainder=ON because Teuchos has a required dependence on TeuchosRemainder
-- Setting Trilinos_ENABLE_Gtest=ON because KokkosAlgorithms has a required dependence on Gtest

Enabling all optional intra-package enables <TRIBITS_PACKAGE>_ENABLE_<DEPPACKAGE> that are not currently disabled if both sets of packages are enabled ...

-- Setting Kokkos_ENABLE_KokkosContainers=ON since Trilinos_ENABLE_Kokkos=ON AND Trilinos_ENABLE_KokkosContainers=ON
-- Setting Kokkos_ENABLE_KokkosAlgorithms=ON since Trilinos_ENABLE_Kokkos=ON AND Trilinos_ENABLE_KokkosAlgorithms=ON
-- Setting TeuchosCore_ENABLE_KokkosCore=ON since Trilinos_ENABLE_TeuchosCore=ON AND Trilinos_ENABLE_KokkosCore=ON
-- Setting Teuchos_ENABLE_TeuchosKokkosCompat=ON since Trilinos_ENABLE_Teuchos=ON AND Trilinos_ENABLE_TeuchosKokkosCompat=ON
-- Setting Teuchos_ENABLE_TeuchosKokkosComm=ON since Trilinos_ENABLE_Teuchos=ON AND Trilinos_ENABLE_TeuchosKokkosComm=ON
-- Setting Epetra_ENABLE_Teuchos=ON since Trilinos_ENABLE_Epetra=ON AND Trilinos_ENABLE_Teuchos=ON
-- Setting TpetraCore_ENABLE_Epetra=ON since Trilinos_ENABLE_TpetraCore=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting TpetraCore_ENABLE_TpetraTSQR=ON since Trilinos_ENABLE_TpetraCore=ON AND Trilinos_ENABLE_TpetraTSQR=ON
-- Setting Tpetra_ENABLE_TpetraKernels=ON since Trilinos_ENABLE_Tpetra=ON AND Trilinos_ENABLE_TpetraKernels=ON
-- Setting Tpetra_ENABLE_TpetraTSQR=ON since Trilinos_ENABLE_Tpetra=ON AND Trilinos_ENABLE_TpetraTSQR=ON
-- Setting Galeri_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Galeri=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Galeri_ENABLE_Tpetra=ON since Trilinos_ENABLE_Galeri=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting Ifpack_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Ifpack=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Ifpack_ENABLE_Galeri=ON since Trilinos_ENABLE_Ifpack=ON AND Trilinos_ENABLE_Galeri=ON
-- Setting Belos_ENABLE_Epetra=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting Belos_ENABLE_Tpetra=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting Belos_ENABLE_Galeri=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Galeri=ON
-- Setting Belos_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Belos_ENABLE_Ifpack=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting Anasazi_ENABLE_Tpetra=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting Anasazi_ENABLE_Epetra=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting Anasazi_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Anasazi_ENABLE_Belos=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Belos=ON
-- Setting Anasazi_ENABLE_Galeri=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Galeri=ON
-- Setting Anasazi_ENABLE_Ifpack=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Ifpack=ON

Enabling all remaining required TPLs for current set of enabled packages ...


Enabling all optional package TPL support for currently enabled TPLs ...

-- Setting TeuchosCore_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting TeuchosKokkosComm_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting Epetra_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting TpetraCore_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON

Enabling TPLs based on <TRIBITS_PACKAGE>_ENABLE_<TPL>=ON if TPL is not explicitly disabled ...


Set cache entries for optional packages/TPLs and tests/examples for packages actually enabled ...


Enabling all parent packages that have at least one subpackage enabled ...


Final set of enabled packages:  Gtest Kokkos Teuchos Epetra Tpetra EpetraExt Galeri Ifpack Belos Anasazi Ifpack2 11

Final set of enabled SE packages:  Gtest KokkosCore KokkosContainers KokkosAlgorithms Kokkos TeuchosCore TeuchosParameterList TeuchosComm TeuchosNumerics TeuchosRemainder TeuchosKokkosCompat TeuchosKokkosComm Teuchos Epetra TpetraClassic TpetraKernels TpetraTSQR TpetraCore Tpetra EpetraExt Galeri Ifpack Belos Anasazi Ifpack2 25

Final set of non-enabled packages:  ThreadPool RTOp Sacado Zoltan Shards GlobiPack Triutils Domi Thyra Xpetra OptiPack Isorropia Pliris AztecOO Amesos Amesos2 Pamgen SEACAS Trios Komplex ML Zoltan2 ShyLU Stratimikos FEI Teko TriKota Intrepid STK Phalanx NOX Moertel MueLu Rythmos MOOCHO Stokhos ROL Piro Sundance CTrilinos ForTrilinos PyTrilinos Didasko Optika Mesquite TrilinosCouplings Pike 47

Final set of non-enabled SE packages:  ThreadPool KokkosExample RTOp Sacado Zoltan Shards GlobiPack Triutils Domi ThyraCore ThyraEpetraAdapters ThyraEpetraExtAdapters ThyraTpetraAdapters Thyra Xpetra OptiPack Isorropia Pliris AztecOO Amesos Amesos2 Pamgen SEACASExodus SEACASExodus_for SEACASNemesis SEACASIoss SEACASChaco SEACASAprepro_lib SEACASSupes SEACASSuplib SEACASSVDI SEACASPLT SEACASAlgebra SEACASAprepro SEACASBlot SEACASConjoin SEACASEjoin SEACASEpu SEACASExo2mat SEACASExodiff SEACASExomatlab SEACASExotxt SEACASEx1ex2v2 SEACASEx2ex1v2 SEACASFastq SEACASGjoin SEACASGen3D SEACASGenshell SEACASGrepos SEACASGrope SEACASMapvarlib SEACASMapvar SEACASMapvar-kd SEACASMat2exo SEACASNemslice SEACASNemspread SEACASNumbers SEACASTxtexo SEACAS Trioscommsplitter Triossupport Triosnnti Triosnssi Triosprograms Triosexamples Triostests Triosnetcdf-service Trios Komplex ML Zoltan2 ShyLUTacho ShyLUCore ShyLUGTS ShyLU Stratimikos FEI Teko TriKota IntrepidCore IntrepidIntrepid2 Intrepid STKClassic STKUtil STKTopology STKMesh STKIO STKUnit_test_utils STKSearch STKSearchUtil STKTransfer STKUnit_tests STKDoc_tests STKExp STK Phalanx NOX Moertel MueLu Rythmos MOOCHO Stokhos ROL Piro Sundance CTrilinos ForTrilinos PyTrilinos Didasko Optika Mesquite TrilinosCouplings PikeBlackBox PikeImplicit Pike 115

Final set of enabled TPLs:  MPI BLAS LAPACK 3

Final set of non-enabled TPLs:  MKL yaml-cpp Peano CUDA CUSPARSE Thrust Cusp TBB Pthread HWLOC QTHREAD BinUtils ARPREC QD Boost Scotch OVIS gpcd METIS ParMETIS LibTopoMap PaToH CppUnit ADOLC ADIC TVMET MF ExodusII Nemesis XDMF Zlib HDF5 Netcdf y12m SuperLUDist SuperLUMT SuperLU Cholmod UMFPACK MA28 AMD CSparse HYPRE PETSC BLACS SCALAPACK MUMPS PARDISO_MKL PARDISO Oski TAUCS ForUQTK Dakota HIPS MATLAB CASK SPARSKIT QT gtest BoostLib BoostAlbLib OpenNURBS Portals CrayPortals Gemini InfiniBand BGPDCMF BGQPAMI Pablo HPCToolkit Pnetcdf Clp GLPK qpOASES Matio PAPI MATLABLib Eigen X11 Lemon GLM quadmath CAMAL RTlib AmgX CGAL VTune 87

Setting up export dependencies for all enabled SE packages ...


Probing the environment ...

-- CMAKE_BUILD_TYPE='RELEASE'
-- MPI_USE_COMPILER_WRAPPERS='ON'
-- MPI_C_COMPILER='mpicc'
-- MPI_C_COMPILER='/usr/local/bin/mpicc'
-- Setting CMAKE_C_COMPILER=${MPI_C_COMPILER}
-- CMAKE_C_COMPILER='/usr/local/bin/mpicc'
-- MPI_CXX_COMPILER='mpiCC'
-- MPI_CXX_COMPILER='/usr/local/bin/mpiCC'
-- Setting CMAKE_CXX_COMPILER=${MPI_CXX_COMPILER}
-- CMAKE_CXX_COMPILER='/usr/local/bin/mpiCC'
-- MPI_Fortran_COMPILER='mpigfortran'
-- MPI_Fortran_COMPILER='/usr/local/bin/mpigfortran'
-- Setting CMAKE_Fortran_COMPILER=${MPI_Fortran_COMPILER}
-- CMAKE_Fortran_COMPILER='/usr/local/bin/mpigfortran'
-- MPI_EXEC='/usr/local/bin/mpirun'
-- The C compiler identification is GNU 4.9.3
-- Check for working C compiler: /usr/local/bin/mpicc
-- Check for working C compiler: /usr/local/bin/mpicc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_C_COMPILER_ID='GNU'
-- CMAKE_C_COMPILER_VERSION='4.9.3'
-- The CXX compiler identification is GNU 4.9.3
-- Check for working CXX compiler: /usr/local/bin/mpiCC
-- Check for working CXX compiler: /usr/local/bin/mpiCC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_CXX_COMPILER_ID='GNU'
-- CMAKE_CXX_COMPILER_VERSION='4.9.3'
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/local/bin/mpigfortran
-- Check for working Fortran compiler: /usr/local/bin/mpigfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/local/bin/mpigfortran supports Fortran 90
-- Checking whether /usr/local/bin/mpigfortran supports Fortran 90 -- yes
-- Looking for C++ include sys/time.h
-- Looking for C++ include sys/time.h - found
-- Looking for C++ include time.h
-- Looking for C++ include time.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Found Perl: /usr/bin/perl (found version "5.10.1") 
-- Fortran name mangling: LOWER UNDER
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Verifying Fortran/CXX Compiler Compatibility
-- Verifying Fortran/CXX Compiler Compatibility - Success
-- Search for C++11 compiler flag ...
-- Performing Test CXX11_FLAGS_COMPILE_RESULT_0
-- Performing Test CXX11_FLAGS_COMPILE_RESULT_0 - Success
-- Successful C++11 flag: '-std=c++11'
-- Performing Test CXX11_CONSECUTIVE_RIGHT_ANGLE_BRACKETS
-- Performing Test CXX11_CONSECUTIVE_RIGHT_ANGLE_BRACKETS - Success
-- Performing Test CXX11_AUTOTYPEDVARIABLES
-- Performing Test CXX11_AUTOTYPEDVARIABLES - Success
-- Performing Test CXX11_LAMBDAS
-- Performing Test CXX11_LAMBDAS - Success
-- Trilinos_ENABLE_CXX11=ON
-- Performing Test MATH_LIBRARY_IS_SUPPLIED
-- Performing Test MATH_LIBRARY_IS_SUPPLIED - Success
-- Performing Test FINITE_VALUE_HAVE_GLOBAL_ISNAN
-- Performing Test FINITE_VALUE_HAVE_GLOBAL_ISNAN - Success
-- Performing Test FINITE_VALUE_HAVE_STD_ISNAN
-- Performing Test FINITE_VALUE_HAVE_STD_ISNAN - Success
-- Performing Test FINITE_VALUE_HAVE_GLOBAL_ISINF
-- Performing Test FINITE_VALUE_HAVE_GLOBAL_ISINF - Success
-- Performing Test FINITE_VALUE_HAVE_STD_ISINF
-- Performing Test FINITE_VALUE_HAVE_STD_ISINF - Success
-- Found Doxygen: /usr/bin/doxygen (found version "1.6.1") 

Getting information for all enabled TPLs ...

Processing enabled TPL: MPI (enabled explicitly, disable with -DTPL_ENABLE_MPI=OFF)
Processing enabled TPL: BLAS (enabled explicitly, disable with -DTPL_ENABLE_BLAS=OFF)
-- Searching for libs in BLAS_LIBRARY_DIRS='/opt/intel-14.0/mkl/lib/intel64'
-- Searching for a lib in the set "mkl_rt":
--   Searching for lib 'mkl_rt' ...
--     Found lib '/opt/intel-14.0/mkl/lib/intel64/libmkl_rt.so'
-- TPL_BLAS_LIBRARIES='/opt/intel-14.0/mkl/lib/intel64/libmkl_rt.so'
Processing enabled TPL: LAPACK (enabled explicitly, disable with -DTPL_ENABLE_LAPACK=OFF)
-- Searching for libs in LAPACK_LIBRARY_DIRS='/opt/intel-14.0/mkl/lib/intel64'
-- Searching for a lib in the set "mkl_rt":
--   Searching for lib 'mkl_rt' ...
--     Found lib '/opt/intel-14.0/mkl/lib/intel64/libmkl_rt.so'
-- TPL_LAPACK_LIBRARIES='/opt/intel-14.0/mkl/lib/intel64/libmkl_rt.so'

Setting up testing support ...

-- CTEST_DROP_METHOD='http'
-- CTEST_DROP_SITE='testing.sandia.gov'
-- CTEST_PROJECT_NAME='Trilinos'
-- CTEST_DROP_LOCATION='/cdash/submit.php?project=Trilinos'
-- CTEST_TRIGGER_SITE=''
-- CTEST_DROP_SITE_CDASH='TRUE'

Configuring individual enabled Trilinos packages ...

Processing enabled package: Gtest (Libs)
Processing enabled package: Kokkos (Core, Containers, Algorithms)
Processing enabled package: Teuchos (Core, ParameterList, Comm, Numerics, Remainder, KokkosCompat, KokkosComm)
-- Performing Test HAVE_GCC_ABI_DEMANGLE
-- Performing Test HAVE_GCC_ABI_DEMANGLE - Success
-- Performing Test HAVE_TEUCHOS_BLASFLOAT
-- Performing Test HAVE_TEUCHOS_BLASFLOAT - Success
-- Performing Test LAPACK_SLAPY2_WORKS
-- Performing Test LAPACK_SLAPY2_WORKS - Success
-- Performing Test HAVE_TEUCHOS_LAPACKLARND
-- Performing Test HAVE_TEUCHOS_LAPACKLARND - Success
-- Performing Test HAVE_CXX_ATTRIBUTE_CONSTRUCTOR
-- Performing Test HAVE_CXX_ATTRIBUTE_CONSTRUCTOR - Success
-- C++ compiler supports __attribute__((constructor)) syntax
-- Performing Test HAVE_CXX_ATTRIBUTE_WEAK
-- Performing Test HAVE_CXX_ATTRIBUTE_WEAK - Success
-- C++ compiler supports __attribute__((weak)) syntax and testing weak functions
-- Performing Test HAVE_CXX_PRAGMA_WEAK
-- Performing Test HAVE_CXX_PRAGMA_WEAK - Failed
-- C++ compiler does NOT support #pragma weak syntax and testing weak functions
Processing enabled package: Epetra (Libs)
Processing enabled package: Tpetra (Classic, Kernels, TSQR, Core)
-- Setting default Node to Kokkos::Compat::KokkosSerialWrapperNode.
-- Tpetra Node availability (ON means available): 
--    KokkosSerialWrapperNode:  ON
--    KokkosThreadsWrapperNode: OFF
--    KokkosOpenMPWrapperNode:  OFF
--    KokkosCudaWrapperNode:    OFF
-- Not enabling Tpetra/RTI
Processing enabled package: EpetraExt (Libs)
Processing enabled package: Galeri (Libs)
Processing enabled package: Ifpack (Libs)
Processing enabled package: Belos (Libs)
Processing enabled package: Anasazi (Libs)
Processing enabled package: Ifpack2 (Libs)

Processing explicit instantiation support for enabled packages ...

Processing ETI support: Ifpack2
-- Ifpack2: Processing ETI / test support
-- Enabled Scalar types:        double
-- Enabled LocalOrdinal types:  int
-- Enabled GlobalOrdinal types: int|long long
-- Enabled Node types:          Kokkos::Compat::KokkosSerialWrapperNode
-- Set of enabled types, before exclusions: S={double} N={Kokkos::Compat::KokkosSerialWrapperNode} LO={int} GO={int};S={double} N={Kokkos::Compat::KokkosSerialWrapperNode} LO={int} GO={long long}
Processing ETI support: TpetraCore
-- TpetraCore: Processing ETI / test support
-- Enabled Scalar types:        int|long long|double
-- Enabled LocalOrdinal types:  int
-- Enabled GlobalOrdinal types: int|long long
-- Enabled Node types:          Kokkos::Compat::KokkosSerialWrapperNode
-- Set of enabled types, before exclusions: S={int} N={Kokkos::Compat::KokkosSerialWrapperNode} LO={int} GO={int};S={int} N={Kokkos::Compat::KokkosSerialWrapperNode} LO={int} GO={long long};S={long long} N={Kokkos::Compat::KokkosSerialWrapperNode} LO={int} GO={int};S={long long} N={Kokkos::Compat::KokkosSerialWrapperNode} LO={int} GO={long long};S={double} N={Kokkos::Compat::KokkosSerialWrapperNode} LO={int} GO={int};S={double} N={Kokkos::Compat::KokkosSerialWrapperNode} LO={int} GO={long long}

Set up for creating a distribution ...


Finished configuring Trilinos!

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    MKL_LIBRARY_DIRS
    MKL_LIBRARY_NAMES
    TPL_MKL_INCLUDE_DIRS
    Tpetra_ENABLE_RTI


-- Build files have been written to: /p/lscratchd/hysom/build
-------------- next part --------------
#!/bin/bash

TRILINOS_SOURCE_PATH=/p/lscratchd/hysom/trilinos-12.4.2-Source
TRILINOS_INSTALL_PATH=/p/lscratchd/hysom/trilinos_12.4.2_release

EXTRA_ARGS=$@

rm -f CMakeCache.txt

cmake  \
          -D Trilinos_ENABLE_TEUCHOS_TIME_MONITOR:BOOL=ON \
          -D BUILD_SHARED_LIBS:BOOL=OFF \
          -D CMAKE_BUILD_TYPE:STRING=RELEASE \
          -D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=OFF \
          -D Trilinos_ENABLE_Belos=ON \
          -D Trilinos_ENABLE_Ifpack2=ON \
          -D Trilinos_ENABLE_Ifpack=ON \
          -D Trilinos_ASSERT_MISSING_PACKAGES=OFF \
          -D Trilinos_ENABLE_Kokkos:BOOL=ON \
          -D Teuchos_ENABLE_COMPLEX:BOOL=OFF \
          -D Tpetra_INST_COMPLEX_DOUBLE:BOOL=OFF \
          -D Trilinos_ENABLE_ThreadPool:BOOL=OFF \
          -D TPL_ENABLE_Pthread:BOOL=OFF  \
          -D TPL_ENABLE_MPI:BOOL=ON \
          -D TPL_ENABLE_TBB:BOOL=OFF \
          -D Trilinos_ENABLE_Kokkos:BOOL=ON \
          -D Trilinos_ENABLE_OpenMP:BOOL=OFF \
          -D Trilinos_ENABLE_Fortran:BOOL=ON \
          -D Trilinos_ENABLE_CHECKED_STL:BOOL=OFF \
          -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=OFF \
          -D Trilinos_ENABLE_Anasazi:BOOL=ON \
          -D Trilinos_ENABLE_Tpetra:BOOL=ON \
          -D Trilinos_ENABLE_Epetra:BOOL=ON \
          -D Trilinos_ENABLE_EpetraExt:BOOL=ON \
          -D Trilinos_ENABLE_TESTS:BOOL=OFF \
          -D Trilinos_ENABLE_EXAMPLES:BOOL=OFF \
          -D CMAKE_C_FLAGS:STRING="-g -Wall -fpermissive" \
          -D CMAKE_CXX_FLAGS:STRING="-g -Wall -fpermissive" \
          -D CMAKE_FORTRAN_FLAGS:STRING="-g " \
          -D CMAKE_INSTALL_PREFIX:STRING=${TRILINOS_INSTALL_PATH} \
          -D MPI_C_COMPILER:STRING="mpicc" \
          -D MPI_CXX_COMPILER:STRING="mpiCC" \
          -D Tpetra_ENABLE_RTI:BOOL=ON \
          -D MPI_Fortran_COMPILER:STRING="mpigfortran" \
          -D TPL_MKL_INCLUDE_DIRS:STRING="/opt/intel-14.0/mkl/include" \
          -D MKL_LIBRARY_NAMES:STRING="mkl_rt" \
          -D MKL_LIBRARY_DIRS:STRING="/opt/intel-14.0/mkl/lib/intel64" \
          -D BLAS_LIBRARY_NAMES:STRING="mkl_rt" \
          -D BLAS_LIBRARY_DIRS:STRING="/opt/intel-14.0/mkl/lib/intel64" \
          -D LAPACK_LIBRARY_NAMES:STRING="mkl_rt" \
          -D LAPACK_LIBRARY_DIRS:STRING="/opt/intel-14.0/mkl/lib/intel64" \
          -D Trilinos_EXTRA_LINK_FLAGS:STRING="-lgfortran" \
          -D TPL_ENABLE_LAPACK:STRING=ON \
          -D TPL_ENABLE_BLAS:STRING=ON \
          -D DART_TESTING_TIMEOUT:STRING=600 \
          ${EXTRA_ARGS} \
          ${TRILINOS_SOURCE_PATH}


More information about the Trilinos-Users mailing list