GEOS-DEV / thirdPartyLibs

Repository to build the GEOSX third party libraries
3 stars 12 forks source link

Linking to system Lapack/Blas - Mac OS 10.14.5 #35

Closed herve-gross closed 5 years ago

herve-gross commented 5 years ago

Here is the linking error I get when trying to compile the TPLs:

[ 46%] Linking CXX shared library libepetra.dylib
/usr/local/bin/mpic++         -O3 -DNDEBUG -w -std=c++11 -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 12.0.0 -current_version 12.14.1 -o libepetra.12.14.1.dylib -install_name @rpath/libepetra.12.dylib CMakeFiles/epetra.dir/Epetra_BLAS.cpp.o CMakeFiles/epetra.dir/Epetra_BasicDirectory.cpp.o CMakeFiles/epetra.dir/Epetra_BasicRowMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_BlockMap.cpp.o CMakeFiles/epetra.dir/Epetra_BlockMapData.cpp.o CMakeFiles/epetra.dir/Epetra_C_wrappers.cpp.o CMakeFiles/epetra.dir/Epetra_CompObject.cpp.o CMakeFiles/epetra.dir/Epetra_CrsGraph.cpp.o CMakeFiles/epetra.dir/Epetra_CrsGraphData.cpp.o CMakeFiles/epetra.dir/Epetra_CrsMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_CrsSingletonFilter.cpp.o CMakeFiles/epetra.dir/Epetra_Data.cpp.o CMakeFiles/epetra.dir/Epetra_DistObject.cpp.o CMakeFiles/epetra.dir/Epetra_Export.cpp.o CMakeFiles/epetra.dir/Epetra_FECrsGraph.cpp.o CMakeFiles/epetra.dir/Epetra_FECrsMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_FEVbrMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_FEVector.cpp.o CMakeFiles/epetra.dir/Epetra_Flops.cpp.o CMakeFiles/epetra.dir/Epetra_Fortran_wrappers.cpp.o CMakeFiles/epetra.dir/Epetra_Import.cpp.o CMakeFiles/epetra.dir/Epetra_Import_Util.cpp.o CMakeFiles/epetra.dir/Epetra_IntMultiVector.cpp.o CMakeFiles/epetra.dir/Epetra_IntSerialDenseMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_IntSerialDenseVector.cpp.o CMakeFiles/epetra.dir/Epetra_IntVector.cpp.o CMakeFiles/epetra.dir/Epetra_JadMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_LAPACK.cpp.o CMakeFiles/epetra.dir/Epetra_LinearProblem.cpp.o CMakeFiles/epetra.dir/Epetra_LocalMap.cpp.o CMakeFiles/epetra.dir/Epetra_Map.cpp.o CMakeFiles/epetra.dir/Epetra_MapColoring.cpp.o CMakeFiles/epetra.dir/Epetra_MultiVector.cpp.o CMakeFiles/epetra.dir/Epetra_Object.cpp.o CMakeFiles/epetra.dir/Epetra_OffsetIndex.cpp.o CMakeFiles/epetra.dir/Epetra_RowMatrixTransposer.cpp.o CMakeFiles/epetra.dir/Epetra_SerialComm.cpp.o CMakeFiles/epetra.dir/Epetra_SerialCommData.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDenseMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDenseSVD.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDenseSolver.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDenseVector.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDistributor.cpp.o CMakeFiles/epetra.dir/Epetra_SerialSpdDenseSolver.cpp.o CMakeFiles/epetra.dir/Epetra_SerialSymDenseMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_Time.cpp.o CMakeFiles/epetra.dir/Epetra_Util.cpp.o CMakeFiles/epetra.dir/Epetra_VbrMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_Vector.cpp.o CMakeFiles/epetra.dir/Epetra_LongLongSerialDenseMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_LongLongSerialDenseVector.cpp.o CMakeFiles/epetra.dir/Epetra_LongLongVector.cpp.o CMakeFiles/epetra.dir/Epetra_MpiComm.cpp.o CMakeFiles/epetra.dir/Epetra_MpiCommData.cpp.o CMakeFiles/epetra.dir/Epetra_MpiDistributor.cpp.o -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/kokkoscomm/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/kokkoscompat/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/remainder/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/numerics/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/comm/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/parameterlist/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/parser/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/core/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/kokkos/core/src ../../teuchos/kokkoscomm/src/libteuchoskokkoscomm.12.14.1.dylib ../../teuchos/kokkoscompat/src/libteuchoskokkoscompat.12.14.1.dylib ../../teuchos/remainder/src/libteuchosremainder.12.14.1.dylib ../../teuchos/numerics/src/libteuchosnumerics.12.14.1.dylib ../../teuchos/comm/src/libteuchoscomm.12.14.1.dylib ../../teuchos/parameterlist/src/libteuchosparameterlist.12.14.1.dylib ../../teuchos/parser/src/libteuchosparser.12.14.1.dylib ../../teuchos/core/src/libteuchoscore.12.14.1.dylib /usr/lib/liblapack.dylib /usr/lib/libblas.dylib ../../kokkos/core/src/libkokkoscore.12.14.1.dylib /usr/lib/libdl.dylib
Undefined symbols for architecture x86_64:
  "_dggsvd3_", referenced from:
      Epetra_LAPACK::GGSVD(char, char, char, int, int, int, int*, int*, double*, int, double*, int, double*, double*, double*, int, double*, int, double*, int, double*, int, int*, int*) const in Epetra_LAPACK.cpp.o
  "_sggsvd3_", referenced from:
      Epetra_LAPACK::GGSVD(char, char, char, int, int, int, int*, int*, float*, int, float*, int, float*, float*, float*, int, float*, int, float*, int, float*, int, int*, int*) const in Epetra_LAPACK.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[5]: *** [packages/epetra/src/libepetra.12.14.1.dylib] Error 1
make[4]: *** [packages/epetra/src/CMakeFiles/epetra.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
corbett5 commented 5 years ago

Can you post all of the output from the Trilinos configure step? It should say where it's looking for BLAS and LAPACK and where it found them.

corbett5 commented 5 years ago

And the tpl configure output please.

herve-gross commented 5 years ago

Here is the Trilinos configure step output:

Configuring Trilinos build directory

-- PROJECT_SOURCE_DIR='/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos'
-- PROJECT_BINARY_DIR='/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build'
-- Trilinos_TRIBITS_DIR='/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos/cmake/tribits'
-- TriBITS_VERSION_STRING='0.9 (Dev)'
-- CMAKE_VERSION='3.14.5'
-- CMAKE_GENERATOR='Unix Makefiles'
-- CMAKE_HOST_SYSTEM_NAME='Darwin'
-- Trilinos_HOSTNAME='USEP-MAC062.local'
-- Found PythonInterp: /usr/bin/python (found suitable version "2.7.10", minimum required is "2.6")
-- PYTHON_EXECUTABLE='/usr/bin/python'

Setting up major user options ...

CMake Warning (dev) at cmake/tribits/core/utils/AdvancedSet.cmake:57 (SET):
  implicitly converting 'FILENAME' to 'STRING' type.
Call Stack (most recent call first):
  cmake/tribits/core/package_arch/TribitsGlobalMacros.cmake:701 (ADVANCED_SET)
  cmake/tribits/core/package_arch/TribitsProjectImpl.cmake:124 (TRIBITS_DEFINE_GLOBAL_OPTIONS_AND_DEFINE_EXTRA_REPOS)
  cmake/tribits/core/package_arch/TribitsProject.cmake:93 (TRIBITS_PROJECT_IMPL)
  CMakeLists.txt:90 (TRIBITS_PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

***
*** NOTE: Setting Trilinos_ENABLE_ForTrilinos=OFF because Trilinos_ENABLE_Fortran=OFF!
***

-- Setting Trilinos_ENABLE_TriKota=OFF because '/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos/packages/TriKota/Dakota' does not exist!

NOTE: Skipping generation of TrilinosRepoVersion.txt because project source is not a git repo!

Reading list of native packages from /Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos/PackagesList.cmake

-- Trilinos_NUM_PACKAGES='63'

Reading list of native TPLs from /Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos/TPLsList.cmake

-- Trilinos_NUM_TPLS='108'

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

-- Trilinos_NUM_SE_PACKAGES='166'
-- Tentatively enabling TPL 'Pthread'
-- Tentatively enabling TPL 'DLlib'

Explicitly enabled packages on input (by user):  Kokkos Teuchos Sacado Epetra Shards Tpetra EpetraExt Thyra AztecOO Amesos Pamgen Ifpack ML Stratimikos Intrepid TrilinosCouplings 16

Explicitly enabled SE packages on input (by user):  Kokkos Teuchos Sacado Epetra Shards Tpetra EpetraExt Thyra AztecOO Amesos Pamgen Ifpack ML Stratimikos Intrepid TrilinosCouplings 16

Explicitly disabled packages on input (by user or by default):  Gtest Claps Trios TriKota STK NewPackage MeshingGenie 7

Explicitly disabled SE packages on input (by user or by default):  Gtest KokkosExample Claps ShyLU_NodeBasker ShyLU_NodeFastILU SEACASExotec2 SEACASSlice Trioscommsplitter Triossupport Triosnnti Triosnssi Triosprograms Triosexamples Triostests Triosnetcdf-service Trios TriKota STKClassic STKExp STK ShyLU_DDBDDC ShyLU_DDCore PanzerExprEval NewPackage MeshingGenie 25

Explicitly enabled TPLs on input (by user):  Pthread MPI DLlib 3

Explicitly disabled TPLs on input (by user or by default):  0

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 ...

-- Setting subpackage enable Trilinos_ENABLE_STKUtil=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKSimd=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKTopology=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKMesh=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKNGP=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKIO=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKUnit_test_utils=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKMath=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKSearch=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKSearchUtil=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKTransfer=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKTools=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKUnit_tests=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKDoc_tests=OFF because parent package Trilinos_ENABLE_STK=OFF
-- Setting subpackage enable Trilinos_ENABLE_STKExprEval=OFF because parent package Trilinos_ENABLE_STK=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 MiniTensor_ENABLE_TESTS=OFF because MiniTensor has a required test/example dependence on disabled package Gtest
-- Setting MiniTensor_ENABLE_EXAMPLES=OFF because MiniTensor has a required test/example dependence on disabled package Gtest
-- Setting ShyLU_NodeTacho_ENABLE_TESTS=OFF because ShyLU_NodeTacho has a required test/example dependence on disabled package Gtest
-- Setting ShyLU_NodeTacho_ENABLE_EXAMPLES=OFF because ShyLU_NodeTacho has a required test/example dependence on disabled package Gtest
-- Setting Intrepid_ENABLE_TESTS=OFF because Intrepid has a required test/example dependence on disabled package Gtest
-- Setting Intrepid_ENABLE_EXAMPLES=OFF because Intrepid has a required test/example dependence on disabled package Gtest
-- Setting Kokkos_ENABLE_KokkosExample=OFF because Kokkos has an optional library dependence on disabled package KokkosExample
-- Setting Trilinos_ENABLE_PanzerAdaptersSTK=OFF because PanzerAdaptersSTK has a required library dependence on disabled package STKUtil
-- Setting TrilinosCouplings_ENABLE_STK=OFF because TrilinosCouplings has an optional library dependence on disabled package STK
-- Setting Trilinos_ENABLE_PanzerMiniEM=OFF because PanzerMiniEM has a required library dependence on disabled package PanzerAdaptersSTK

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_TeuchosCore=ON because parent package Trilinos_ENABLE_Teuchos=ON
-- Setting subpackage enable Trilinos_ENABLE_TeuchosParser=ON because parent package Trilinos_ENABLE_Teuchos=ON
-- Setting subpackage enable Trilinos_ENABLE_TeuchosParameterList=ON because parent package Trilinos_ENABLE_Teuchos=ON
-- Setting subpackage enable Trilinos_ENABLE_TeuchosComm=ON because parent package Trilinos_ENABLE_Teuchos=ON
-- Setting subpackage enable Trilinos_ENABLE_TeuchosNumerics=ON because parent package Trilinos_ENABLE_Teuchos=ON
-- Setting subpackage enable Trilinos_ENABLE_TeuchosRemainder=ON because parent package Trilinos_ENABLE_Teuchos=ON
-- Setting subpackage enable Trilinos_ENABLE_TeuchosKokkosCompat=ON because parent package Trilinos_ENABLE_Teuchos=ON
-- Setting subpackage enable Trilinos_ENABLE_TeuchosKokkosComm=ON because parent package Trilinos_ENABLE_Teuchos=ON
-- Setting subpackage enable Trilinos_ENABLE_TpetraClassic=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
-- Setting subpackage enable Trilinos_ENABLE_ThyraCore=ON because parent package Trilinos_ENABLE_Thyra=ON
-- Setting subpackage enable Trilinos_ENABLE_ThyraEpetraAdapters=ON because parent package Trilinos_ENABLE_Thyra=ON
-- Setting subpackage enable Trilinos_ENABLE_ThyraEpetraExtAdapters=ON because parent package Trilinos_ENABLE_Thyra=ON
-- Setting subpackage enable Trilinos_ENABLE_ThyraTpetraAdapters=ON because parent package Trilinos_ENABLE_Thyra=ON

Enabling all required (and optional since Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES=ON) upstream SE packages for current set of enabled packages (Trilinos_ENABLE_SECONDARY_TESTED_CODE=ON) ...

-- Setting Trilinos_ENABLE_Isorropia=ON because TrilinosCouplings has an optional dependence on Isorropia
-- Setting Trilinos_ENABLE_Belos=ON because TrilinosCouplings has an optional dependence on Belos
-- Setting Trilinos_ENABLE_MueLu=ON because TrilinosCouplings has an optional dependence on MueLu
-- Setting Trilinos_ENABLE_NOX=ON because TrilinosCouplings has an optional dependence on NOX
-- Setting Trilinos_ENABLE_Zoltan=ON because TrilinosCouplings has an optional dependence on Zoltan
-- Setting Trilinos_ENABLE_Stokhos=ON because TrilinosCouplings has an optional dependence on Stokhos
-- Setting Trilinos_ENABLE_Intrepid2=ON because TrilinosCouplings has an optional dependence on Intrepid2
-- Setting Trilinos_ENABLE_Teko=ON because TrilinosCouplings has an optional dependence on Teko
-- Setting Trilinos_ENABLE_KokkosKernels=ON because TrilinosCouplings has an optional dependence on KokkosKernels
-- Setting Trilinos_ENABLE_Anasazi=ON because Stokhos has an optional dependence on Anasazi
-- Setting Trilinos_ENABLE_Ifpack2=ON because Stokhos has an optional dependence on Ifpack2
-- Setting Trilinos_ENABLE_Amesos2=ON because Stokhos has an optional dependence on Amesos2
-- Setting Trilinos_ENABLE_Xpetra=ON because MueLu has a required dependence on Xpetra
-- Setting Trilinos_ENABLE_Zoltan2=ON because MueLu has an optional dependence on Zoltan2
-- Setting Trilinos_ENABLE_Galeri=ON because MueLu has an optional dependence on Galeri
-- Setting Trilinos_ENABLE_Triutils=ON because Stratimikos has an optional dependence on Triutils
-- Setting Trilinos_ENABLE_ShyLU_NodeHTS=ON because Ifpack2 has an optional dependence on ShyLU_NodeHTS
-- Setting Trilinos_ENABLE_TrilinosSS=ON because Amesos2 has a required dependence on TrilinosSS
-- Setting Trilinos_ENABLE_ShyLU_NodeTacho=ON because Amesos2 has an optional dependence on ShyLU_NodeTacho
-- Setting Trilinos_ENABLE_RTOp=ON because ThyraCore has a required dependence on RTOp

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 Sacado_ENABLE_Teuchos=ON since Trilinos_ENABLE_Sacado=ON AND Trilinos_ENABLE_Teuchos=ON
-- Setting Sacado_ENABLE_KokkosCore=ON since Trilinos_ENABLE_Sacado=ON AND Trilinos_ENABLE_KokkosCore=ON
-- Setting Sacado_ENABLE_TeuchosKokkosComm=ON since Trilinos_ENABLE_Sacado=ON AND Trilinos_ENABLE_TeuchosKokkosComm=ON
-- Setting Sacado_ENABLE_TeuchosCore=ON since Trilinos_ENABLE_Sacado=ON AND Trilinos_ENABLE_TeuchosCore=ON
-- Setting Sacado_ENABLE_KokkosContainers=ON since Trilinos_ENABLE_Sacado=ON AND Trilinos_ENABLE_KokkosContainers=ON
-- Setting Epetra_ENABLE_Teuchos=ON since Trilinos_ENABLE_Epetra=ON AND Trilinos_ENABLE_Teuchos=ON
-- Setting Shards_ENABLE_Teuchos=ON since Trilinos_ENABLE_Shards=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_TpetraTSQR=ON since Trilinos_ENABLE_Tpetra=ON AND Trilinos_ENABLE_TpetraTSQR=ON
-- Setting EpetraExt_ENABLE_Triutils=ON since Trilinos_ENABLE_EpetraExt=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting ThyraTpetraAdapters_ENABLE_ThyraEpetraAdapters=ON since Trilinos_ENABLE_ThyraTpetraAdapters=ON AND Trilinos_ENABLE_ThyraEpetraAdapters=ON
-- Setting Thyra_ENABLE_ThyraEpetraAdapters=ON since Trilinos_ENABLE_Thyra=ON AND Trilinos_ENABLE_ThyraEpetraAdapters=ON
-- Setting Thyra_ENABLE_ThyraEpetraExtAdapters=ON since Trilinos_ENABLE_Thyra=ON AND Trilinos_ENABLE_ThyraEpetraExtAdapters=ON
-- Setting Thyra_ENABLE_ThyraTpetraAdapters=ON since Trilinos_ENABLE_Thyra=ON AND Trilinos_ENABLE_ThyraTpetraAdapters=ON
-- Setting Xpetra_ENABLE_Epetra=ON since Trilinos_ENABLE_Xpetra=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting Xpetra_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Xpetra=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Xpetra_ENABLE_Tpetra=ON since Trilinos_ENABLE_Xpetra=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting Xpetra_ENABLE_KokkosCore=ON since Trilinos_ENABLE_Xpetra=ON AND Trilinos_ENABLE_KokkosCore=ON
-- Setting Xpetra_ENABLE_KokkosContainers=ON since Trilinos_ENABLE_Xpetra=ON AND Trilinos_ENABLE_KokkosContainers=ON
-- Setting Xpetra_ENABLE_KokkosKernels=ON since Trilinos_ENABLE_Xpetra=ON AND Trilinos_ENABLE_KokkosKernels=ON
-- Setting Xpetra_ENABLE_Thyra=ON since Trilinos_ENABLE_Xpetra=ON AND Trilinos_ENABLE_Thyra=ON
-- NOTE: Xpetra_ENABLE_Epetra=ON is already set!
-- NOTE: Xpetra_ENABLE_EpetraExt=ON is already set!
-- NOTE: Xpetra_ENABLE_Tpetra=ON is already set!
-- NOTE: Xpetra_ENABLE_KokkosCore=ON is already set!
-- NOTE: Xpetra_ENABLE_KokkosContainers=ON is already set!
-- NOTE: Xpetra_ENABLE_KokkosKernels=ON is already set!
-- NOTE: Xpetra_ENABLE_Thyra=ON is already set!
-- Setting AztecOO_ENABLE_Teuchos=ON since Trilinos_ENABLE_AztecOO=ON AND Trilinos_ENABLE_Teuchos=ON
-- Setting Galeri_ENABLE_Epetra=ON since Trilinos_ENABLE_Galeri=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting Galeri_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Galeri=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Galeri_ENABLE_Xpetra=ON since Trilinos_ENABLE_Galeri=ON AND Trilinos_ENABLE_Xpetra=ON
-- Setting Galeri_ENABLE_Tpetra=ON since Trilinos_ENABLE_Galeri=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting Amesos_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Amesos=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Amesos_ENABLE_Triutils=ON since Trilinos_ENABLE_Amesos=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting Amesos_ENABLE_Galeri=ON since Trilinos_ENABLE_Amesos=ON AND Trilinos_ENABLE_Galeri=ON
-- Setting Zoltan2_ENABLE_Epetra=ON since Trilinos_ENABLE_Zoltan2=ON AND Trilinos_ENABLE_Epetra=ON
-- NOTE: Zoltan2_ENABLE_Epetra=ON is already set!
-- Setting Zoltan2_ENABLE_Galeri=ON since Trilinos_ENABLE_Zoltan2=ON AND Trilinos_ENABLE_Galeri=ON
-- Setting Zoltan2_ENABLE_Pamgen=ON since Trilinos_ENABLE_Zoltan2=ON AND Trilinos_ENABLE_Pamgen=ON
-- Setting Ifpack_ENABLE_Amesos=ON since Trilinos_ENABLE_Ifpack=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting Ifpack_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Ifpack=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Ifpack_ENABLE_AztecOO=ON since Trilinos_ENABLE_Ifpack=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting Ifpack_ENABLE_Galeri=ON since Trilinos_ENABLE_Ifpack=ON AND Trilinos_ENABLE_Galeri=ON
-- Setting ML_ENABLE_Teuchos=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Teuchos=ON
-- Setting ML_ENABLE_Epetra=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting ML_ENABLE_Zoltan=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Zoltan=ON
-- Setting ML_ENABLE_Galeri=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Galeri=ON
-- Setting ML_ENABLE_Amesos=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting ML_ENABLE_Ifpack=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting ML_ENABLE_AztecOO=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting ML_ENABLE_EpetraExt=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting ML_ENABLE_Isorropia=ON since Trilinos_ENABLE_ML=ON AND Trilinos_ENABLE_Isorropia=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_Xpetra=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Xpetra=ON
-- Setting Belos_ENABLE_Thyra=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Thyra=ON
-- Setting Belos_ENABLE_AztecOO=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting Belos_ENABLE_Triutils=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting Belos_ENABLE_Galeri=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_Galeri=ON
-- NOTE: Belos_ENABLE_Triutils=ON is already set!
-- 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 Belos_ENABLE_ML=ON since Trilinos_ENABLE_Belos=ON AND Trilinos_ENABLE_ML=ON
-- NOTE: Belos_ENABLE_AztecOO=ON is already set!
-- Setting ShyLU_NodeHTS_ENABLE_KokkosKernels=ON since Trilinos_ENABLE_ShyLU_NodeHTS=ON AND Trilinos_ENABLE_KokkosKernels=ON
-- Setting ShyLU_NodeTacho_ENABLE_TrilinosSS=ON since Trilinos_ENABLE_ShyLU_NodeTacho=ON AND Trilinos_ENABLE_TrilinosSS=ON
-- Setting Amesos2_ENABLE_Epetra=ON since Trilinos_ENABLE_Amesos2=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting Amesos2_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Amesos2=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Amesos2_ENABLE_ShyLU_NodeTacho=ON since Trilinos_ENABLE_Amesos2=ON AND Trilinos_ENABLE_ShyLU_NodeTacho=ON
-- NOTE: Amesos2_ENABLE_ShyLU_NodeTacho=ON is already set!
-- Setting Amesos2_ENABLE_Kokkos=ON since Trilinos_ENABLE_Amesos2=ON AND Trilinos_ENABLE_Kokkos=ON
-- Setting Amesos2_ENABLE_TrilinosSS=ON since Trilinos_ENABLE_Amesos2=ON AND Trilinos_ENABLE_TrilinosSS=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_ThyraCore=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_ThyraCore=ON
-- Setting Anasazi_ENABLE_ThyraEpetraAdapters=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_ThyraEpetraAdapters=ON
-- Setting Anasazi_ENABLE_Belos=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Belos=ON
-- Setting Anasazi_ENABLE_Amesos=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting Anasazi_ENABLE_AztecOO=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_AztecOO=ON
-- NOTE: Anasazi_ENABLE_Belos=ON is already set!
-- NOTE: Anasazi_ENABLE_EpetraExt=ON is already set!
-- 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
-- Setting Anasazi_ENABLE_Triutils=ON since Trilinos_ENABLE_Anasazi=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting Ifpack2_ENABLE_Xpetra=ON since Trilinos_ENABLE_Ifpack2=ON AND Trilinos_ENABLE_Xpetra=ON
-- Setting Ifpack2_ENABLE_Zoltan2=ON since Trilinos_ENABLE_Ifpack2=ON AND Trilinos_ENABLE_Zoltan2=ON
-- Setting Ifpack2_ENABLE_ThyraTpetraAdapters=ON since Trilinos_ENABLE_Ifpack2=ON AND Trilinos_ENABLE_ThyraTpetraAdapters=ON
-- Setting Ifpack2_ENABLE_Amesos2=ON since Trilinos_ENABLE_Ifpack2=ON AND Trilinos_ENABLE_Amesos2=ON
-- Setting Ifpack2_ENABLE_ShyLU_NodeHTS=ON since Trilinos_ENABLE_Ifpack2=ON AND Trilinos_ENABLE_ShyLU_NodeHTS=ON
-- NOTE: Ifpack2_ENABLE_Amesos2=ON is already set!
-- NOTE: Ifpack2_ENABLE_ShyLU_NodeHTS=ON is already set!
-- Setting Ifpack2_ENABLE_ML=ON since Trilinos_ENABLE_Ifpack2=ON AND Trilinos_ENABLE_ML=ON
-- Setting Stratimikos_ENABLE_Amesos=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting Stratimikos_ENABLE_Amesos2=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Amesos2=ON
-- Setting Stratimikos_ENABLE_AztecOO=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting Stratimikos_ENABLE_Belos=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Belos=ON
-- Setting Stratimikos_ENABLE_Ifpack=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting Stratimikos_ENABLE_ML=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_ML=ON
-- Setting Stratimikos_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Stratimikos_ENABLE_ThyraEpetraAdapters=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_ThyraEpetraAdapters=ON
-- Setting Stratimikos_ENABLE_ThyraTpetraAdapters=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_ThyraTpetraAdapters=ON
-- Setting Stratimikos_ENABLE_Triutils=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Triutils=ON
-- Setting Stratimikos_ENABLE_Ifpack2=ON since Trilinos_ENABLE_Stratimikos=ON AND Trilinos_ENABLE_Ifpack2=ON
-- Setting Teko_ENABLE_Isorropia=ON since Trilinos_ENABLE_Teko=ON AND Trilinos_ENABLE_Isorropia=ON
-- Setting Teko_ENABLE_Ifpack2=ON since Trilinos_ENABLE_Teko=ON AND Trilinos_ENABLE_Ifpack2=ON
-- Setting Teko_ENABLE_Amesos2=ON since Trilinos_ENABLE_Teko=ON AND Trilinos_ENABLE_Amesos2=ON
-- Setting Teko_ENABLE_Belos=ON since Trilinos_ENABLE_Teko=ON AND Trilinos_ENABLE_Belos=ON
-- Setting Intrepid_ENABLE_Epetra=ON since Trilinos_ENABLE_Intrepid=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting Intrepid_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Intrepid=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Intrepid_ENABLE_Amesos=ON since Trilinos_ENABLE_Intrepid=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting Intrepid_ENABLE_Pamgen=ON since Trilinos_ENABLE_Intrepid=ON AND Trilinos_ENABLE_Pamgen=ON
-- Setting Intrepid2_ENABLE_Sacado=ON since Trilinos_ENABLE_Intrepid2=ON AND Trilinos_ENABLE_Sacado=ON
-- NOTE: Intrepid2_ENABLE_Sacado=ON is already set!
-- Setting NOX_ENABLE_Epetra=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting NOX_ENABLE_EpetraExt=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting NOX_ENABLE_ThyraCore=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_ThyraCore=ON
-- Setting NOX_ENABLE_ThyraEpetraAdapters=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_ThyraEpetraAdapters=ON
-- Setting NOX_ENABLE_ThyraEpetraExtAdapters=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_ThyraEpetraExtAdapters=ON
-- Setting NOX_ENABLE_Amesos=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting NOX_ENABLE_AztecOO=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting NOX_ENABLE_Ifpack=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting NOX_ENABLE_ML=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_ML=ON
-- Setting NOX_ENABLE_Belos=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Belos=ON
-- Setting NOX_ENABLE_Anasazi=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Anasazi=ON
-- Setting NOX_ENABLE_Stratimikos=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Stratimikos=ON
-- Setting NOX_ENABLE_Teko=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Teko=ON
-- NOTE: NOX_ENABLE_Stratimikos=ON is already set!
-- Setting NOX_ENABLE_Isorropia=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Isorropia=ON
-- Setting NOX_ENABLE_Tpetra=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting NOX_ENABLE_ThyraTpetraAdapters=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_ThyraTpetraAdapters=ON
-- Setting NOX_ENABLE_Ifpack2=ON since Trilinos_ENABLE_NOX=ON AND Trilinos_ENABLE_Ifpack2=ON
-- Setting MueLu_ENABLE_Amesos=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting MueLu_ENABLE_Amesos2=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Amesos2=ON
-- Setting MueLu_ENABLE_Epetra=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Epetra=ON
-- Setting MueLu_ENABLE_EpetraExt=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting MueLu_ENABLE_Teko=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Teko=ON
-- Setting MueLu_ENABLE_Ifpack=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting MueLu_ENABLE_Ifpack2=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Ifpack2=ON
-- Setting MueLu_ENABLE_Intrepid2=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Intrepid2=ON
-- Setting MueLu_ENABLE_ML=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_ML=ON
-- Setting MueLu_ENABLE_Tpetra=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting MueLu_ENABLE_Zoltan=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Zoltan=ON
-- Setting MueLu_ENABLE_Zoltan2=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Zoltan2=ON
-- Setting MueLu_ENABLE_Stratimikos=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Stratimikos=ON
-- Setting MueLu_ENABLE_Thyra=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Thyra=ON
-- Setting MueLu_ENABLE_ThyraTpetraAdapters=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_ThyraTpetraAdapters=ON
-- Setting MueLu_ENABLE_Isorropia=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Isorropia=ON
-- Setting MueLu_ENABLE_KokkosCore=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_KokkosCore=ON
-- Setting MueLu_ENABLE_KokkosContainers=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_KokkosContainers=ON
-- Setting MueLu_ENABLE_KokkosKernels=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_KokkosKernels=ON
-- Setting MueLu_ENABLE_AztecOO=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting MueLu_ENABLE_Galeri=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Galeri=ON
-- Setting MueLu_ENABLE_Belos=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Belos=ON
-- Setting MueLu_ENABLE_Pamgen=ON since Trilinos_ENABLE_MueLu=ON AND Trilinos_ENABLE_Pamgen=ON
-- Setting Stokhos_ENABLE_EpetraExt=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting Stokhos_ENABLE_Ifpack=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting Stokhos_ENABLE_ML=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_ML=ON
-- Setting Stokhos_ENABLE_Anasazi=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_Anasazi=ON
-- Setting Stokhos_ENABLE_Sacado=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_Sacado=ON
-- Setting Stokhos_ENABLE_NOX=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_NOX=ON
-- Setting Stokhos_ENABLE_Isorropia=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_Isorropia=ON
-- Setting Stokhos_ENABLE_KokkosKernels=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_KokkosKernels=ON
-- Setting Stokhos_ENABLE_TeuchosKokkosComm=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_TeuchosKokkosComm=ON
-- Setting Stokhos_ENABLE_KokkosAlgorithms=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_KokkosAlgorithms=ON
-- Setting Stokhos_ENABLE_KokkosContainers=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_KokkosContainers=ON
-- Setting Stokhos_ENABLE_Tpetra=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_Tpetra=ON
-- Setting Stokhos_ENABLE_Ifpack2=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_Ifpack2=ON
-- Setting Stokhos_ENABLE_MueLu=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_MueLu=ON
-- Setting Stokhos_ENABLE_Belos=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_Belos=ON
-- Setting Stokhos_ENABLE_Amesos2=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_Amesos2=ON
-- Setting Stokhos_ENABLE_Thyra=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_Thyra=ON
-- Setting Stokhos_ENABLE_AztecOO=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting Stokhos_ENABLE_Stratimikos=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_Stratimikos=ON
-- Setting Stokhos_ENABLE_Zoltan=ON since Trilinos_ENABLE_Stokhos=ON AND Trilinos_ENABLE_Zoltan=ON
-- NOTE: Stokhos_ENABLE_KokkosContainers=ON is already set!
-- Setting TrilinosCouplings_ENABLE_EpetraExt=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_EpetraExt=ON
-- Setting TrilinosCouplings_ENABLE_Isorropia=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Isorropia=ON
-- Setting TrilinosCouplings_ENABLE_Amesos=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Amesos=ON
-- Setting TrilinosCouplings_ENABLE_AztecOO=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_AztecOO=ON
-- Setting TrilinosCouplings_ENABLE_Belos=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Belos=ON
-- Setting TrilinosCouplings_ENABLE_Ifpack=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Ifpack=ON
-- Setting TrilinosCouplings_ENABLE_ML=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_ML=ON
-- Setting TrilinosCouplings_ENABLE_MueLu=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_MueLu=ON
-- Setting TrilinosCouplings_ENABLE_NOX=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_NOX=ON
-- Setting TrilinosCouplings_ENABLE_Zoltan=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Zoltan=ON
-- Setting TrilinosCouplings_ENABLE_Stokhos=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Stokhos=ON
-- NOTE: TrilinosCouplings_ENABLE_Amesos=ON is already set!
-- NOTE: TrilinosCouplings_ENABLE_Isorropia=ON is already set!
-- Setting TrilinosCouplings_ENABLE_Epetra=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Epetra=ON
-- NOTE: TrilinosCouplings_ENABLE_EpetraExt=ON is already set!
-- NOTE: TrilinosCouplings_ENABLE_Ifpack=ON is already set!
-- Setting TrilinosCouplings_ENABLE_Intrepid=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Intrepid=ON
-- Setting TrilinosCouplings_ENABLE_Intrepid2=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Intrepid2=ON
-- Setting TrilinosCouplings_ENABLE_Pamgen=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Pamgen=ON
-- NOTE: TrilinosCouplings_ENABLE_AztecOO=ON is already set!
-- NOTE: TrilinosCouplings_ENABLE_ML=ON is already set!
-- NOTE: TrilinosCouplings_ENABLE_MueLu=ON is already set!
-- NOTE: TrilinosCouplings_ENABLE_Zoltan=ON is already set!
-- Setting TrilinosCouplings_ENABLE_Teko=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Teko=ON
-- Setting TrilinosCouplings_ENABLE_KokkosKernels=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_KokkosKernels=ON
-- Setting TrilinosCouplings_ENABLE_Tpetra=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Tpetra=ON
-- NOTE: TrilinosCouplings_ENABLE_MueLu=ON is already set!
-- Setting TrilinosCouplings_ENABLE_KokkosCore=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_KokkosCore=ON
-- Setting TrilinosCouplings_ENABLE_TeuchosKokkosCompat=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_TeuchosKokkosCompat=ON
-- Setting TrilinosCouplings_ENABLE_KokkosContainers=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_KokkosContainers=ON
-- Setting TrilinosCouplings_ENABLE_TeuchosKokkosComm=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_TeuchosKokkosComm=ON
-- NOTE: TrilinosCouplings_ENABLE_Stokhos=ON is already set!
-- NOT setting TrilinosCouplings_ENABLE_TriKota=ON since TriKota is NOT enabled at this point!
-- Setting TrilinosCouplings_ENABLE_Sacado=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Sacado=ON
-- Setting TrilinosCouplings_ENABLE_Stratimikos=ON since Trilinos_ENABLE_TrilinosCouplings=ON AND Trilinos_ENABLE_Stratimikos=ON

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

-- Setting TPL_ENABLE_BLAS=ON because it is required by the enabled package TeuchosNumerics
-- Setting TPL_ENABLE_LAPACK=ON because it is required by the enabled package TeuchosNumerics

Enabling all optional package TPL support <TRIBITS_PACKAGE>_ENABLE_<DEPTPL> not currently disabled for enabled TPLs ...

-- Setting KokkosCore_ENABLE_Pthread=ON since TPL_ENABLE_Pthread=ON
-- Setting KokkosCore_ENABLE_DLlib=ON since TPL_ENABLE_DLlib=ON
-- Setting KokkosContainers_ENABLE_Pthread=ON since TPL_ENABLE_Pthread=ON
-- Setting KokkosAlgorithms_ENABLE_Pthread=ON since TPL_ENABLE_Pthread=ON
-- Setting TeuchosCore_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting TeuchosCore_ENABLE_Pthread=ON since TPL_ENABLE_Pthread=ON
-- Setting TeuchosKokkosCompat_ENABLE_Pthread=ON since TPL_ENABLE_Pthread=ON
-- Setting TeuchosKokkosComm_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting KokkosKernels_ENABLE_BLAS=ON since TPL_ENABLE_BLAS=ON
-- Setting KokkosKernels_ENABLE_LAPACK=ON since TPL_ENABLE_LAPACK=ON
-- Setting Epetra_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting Zoltan_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting TpetraCore_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting ML_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting ShyLU_NodeHTS_ENABLE_BLAS=ON since TPL_ENABLE_BLAS=ON
-- Setting ShyLU_NodeTacho_ENABLE_LAPACK=ON since TPL_ENABLE_LAPACK=ON
-- Setting ShyLU_NodeTacho_ENABLE_BLAS=ON since TPL_ENABLE_BLAS=ON
-- Setting ShyLU_NodeTacho_ENABLE_Pthread=ON since TPL_ENABLE_Pthread=ON
-- NOTE: ShyLU_NodeTacho_ENABLE_LAPACK=ON is already set!
-- NOTE: ShyLU_NodeTacho_ENABLE_BLAS=ON is already set!
-- NOTE: ShyLU_NodeTacho_ENABLE_Pthread=ON is already set!
-- Setting Amesos2_ENABLE_MPI=ON since TPL_ENABLE_MPI=ON
-- Setting NOX_ENABLE_LAPACK=ON since TPL_ENABLE_LAPACK=ON
-- Setting NOX_ENABLE_BLAS=ON since TPL_ENABLE_BLAS=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 the shell of non-enabled parent packages (mostly for show) that have at least one subpackage enabled ...

-- Setting Trilinos_ENABLE_ShyLU_Node=ON because Trilinos_ENABLE_ShyLU_NodeHTS=ON

Final set of enabled packages:  Kokkos Teuchos KokkosKernels RTOp Sacado Epetra Zoltan Shards Triutils Tpetra TrilinosSS EpetraExt Thyra Xpetra Isorropia AztecOO Galeri Amesos Pamgen Zoltan2 Ifpack ML Belos ShyLU_Node Amesos2 Anasazi Ifpack2 Stratimikos Teko Intrepid Intrepid2 NOX MueLu Stokhos TrilinosCouplings 35

Final set of enabled SE packages:  KokkosCore KokkosContainers KokkosAlgorithms Kokkos TeuchosCore TeuchosParser TeuchosParameterList TeuchosComm TeuchosNumerics TeuchosRemainder TeuchosKokkosCompat TeuchosKokkosComm Teuchos KokkosKernels RTOp Sacado Epetra Zoltan Shards Triutils TpetraClassic TpetraTSQR TpetraCore Tpetra TrilinosSS EpetraExt ThyraCore ThyraEpetraAdapters ThyraEpetraExtAdapters ThyraTpetraAdapters Thyra Xpetra Isorropia AztecOO Galeri Amesos Pamgen Zoltan2 Ifpack ML Belos ShyLU_NodeHTS ShyLU_NodeTacho ShyLU_Node Amesos2 Anasazi Ifpack2 Stratimikos Teko Intrepid Intrepid2 NOX MueLu Stokhos TrilinosCouplings 55

Final set of non-enabled packages:  TrilinosFrameworkTests Gtest ThreadPool MiniTensor GlobiPack Domi OptiPack Pliris Claps SEACAS Trios Komplex FEI TriKota STK Phalanx Moertel ShyLU_DD ShyLU Rythmos Tempus ROL Piro Panzer PyTrilinos NewPackage MeshingGenie Pike 28

Final set of non-enabled SE packages:  TrilinosFrameworkTests Gtest ThreadPool KokkosExample MiniTensor GlobiPack Domi OptiPack Pliris Claps ShyLU_NodeBasker ShyLU_NodeFastILU SEACASExodus SEACASExodus_for SEACASExoIIv2for32 SEACASNemesis SEACASIoss SEACASChaco SEACASAprepro_lib SEACASSupes SEACASSuplib SEACASSuplibC SEACASSuplibCpp SEACASSVDI SEACASPLT SEACASAlgebra SEACASAprepro SEACASBlot SEACASConjoin SEACASEjoin SEACASEpu SEACASExo2mat SEACASExodiff SEACASExomatlab SEACASExotxt SEACASExo_format SEACASEx1ex2v2 SEACASExotec2 SEACASFastq SEACASGjoin SEACASGen3D SEACASGenshell SEACASGrepos SEACASExplore SEACASMapvarlib SEACASMapvar SEACASMapvar-kd SEACASMat2exo SEACASNemslice SEACASNemspread SEACASNumbers SEACASSlice SEACASTxtexo SEACASEx2ex1v2 SEACAS Trioscommsplitter Triossupport Triosnnti Triosnssi Triosprograms Triosexamples Triostests Triosnetcdf-service Trios Komplex FEI TriKota STKClassic STKUtil STKSimd STKTopology STKMesh STKNGP STKIO STKUnit_test_utils STKMath STKSearch STKSearchUtil STKTransfer STKTools STKUnit_tests STKDoc_tests STKExp STKExprEval STK Phalanx Moertel ShyLU_DDBDDC ShyLU_DDFROSch ShyLU_DDCore ShyLU_DDCommon ShyLU_DD ShyLU Rythmos Tempus ROL Piro PanzerCore PanzerDofMgr PanzerDiscFE PanzerAdaptersSTK PanzerAdaptersIOSS PanzerMiniEM PanzerExprEval Panzer PyTrilinos NewPackage MeshingGenie PikeBlackBox PikeImplicit Pike 111

Final set of enabled TPLs:  Pthread MPI BLAS LAPACK DLlib 5

Final set of non-enabled TPLs:  MKL yaml-cpp Peano CUDA CUSPARSE Thrust Cusp TBB HWLOC QTHREAD BinUtils ARPREC QD Boost Scotch OVIS gpcd METIS MTMETIS ParMETIS PuLP TopoManager LibTopoMap PaToH CppUnit ADOLC ADIC TVMET MF ExodusII Nemesis XDMF Zlib HDF5 CGNS Pnetcdf 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 Clp GLPK qpOASES Matio PAPI MATLABLib Eigen X11 Lemon GLM quadmath CAMAL RTlib AmgX CGAL CGALCore VTune TASMANIAN ArrayFireCPU SimMesh SimModel SimParasolid SimAcis SimField Valgrind QUO ViennaCL Avatar pebbl 103

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

Probing the environment ...

-- USE_XSDK_DEFAULTS='FALSE'
-- BUILD_SHARED_LIBS='ON'
-- CMAKE_BUILD_TYPE='RELEASE'
-- MPI_USE_COMPILER_WRAPPERS='ON'
-- Leaving current CMAKE_C_COMPILER=/usr/local/bin/mpicc since it is already set!
-- Leaving current CMAKE_CXX_COMPILER=/usr/local/bin/mpic++ since it is already set!
-- MPI_EXEC='/usr/local/bin/mpiexec'
-- The C compiler identification is AppleClang 10.0.1.10010046
-- 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
-- Detecting C compile features
-- Detecting C compile features - done
-- CMAKE_C_COMPILER_ID='AppleClang'
-- CMAKE_C_COMPILER_VERSION='10.0.1.10010046'
-- The CXX compiler identification is AppleClang 10.0.1.10010046
-- Check for working CXX compiler: /usr/local/bin/mpic++
-- Check for working CXX compiler: /usr/local/bin/mpic++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_CXX_COMPILER_ID='AppleClang'
-- CMAKE_CXX_COMPILER_VERSION='10.0.1.10010046'
-- KOKKOS_ARCH=''
-- Using the legacy tribits build because KOKKOS_ARCH not set
--
-- ****************** Kokkos Settings ******************
-- Execution Spaces
--   Device Parallel: None
--     Host Parallel: None
--       Host Serial: Serial
--
-- Architectures:
--     None
--
-- Enabled options
--   KOKKOS_ENABLE_SERIAL
--   KOKKOS_ENABLE_PROFILING
--   KOKKOS_ENABLE_DEPRECATED_CODE
--
-- Final kokkos settings variable:
--   env;KOKKOS_CMAKE=yes;KOKKOS_SRC_PATH=/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos/packages/kokkos;KOKKOS_PATH=/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos/packages/kokkos;KOKKOS_INSTALL_PATH=/Users/j0529096/Documents/code/thirdPartyLibs/install-default-release/trilinos;KOKKOS_ARCH=None;KOKKOS_DEVICES=Serial;KOKKOS_DEBUG=no;KOKKOS_OPTIONS=disable_dualview_modify_check
-- *****************************************************
--
-- Trilinos_SET_INSTALL_RPATH='TRUE'
-- CMAKE_INSTALL_RPATH_USE_LINK_PATH='TRUE'
-- Setting default for CMAKE_INSTALL_RPATH pointing to Trilinos_INSTALL_LIB_DIR
-- Setting default CMAKE_MACOSX_RPATH=TRUE
-- CMAKE_MACOSX_RPATH='TRUE'
-- CMAKE_INSTALL_RPATH='/Users/j0529096/Documents/code/thirdPartyLibs/install-default-release/trilinos/lib'
-- 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.18.4")
-- 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/local/bin/doxygen (found version "1.8.15") found components:  doxygen missing components:  dot

Getting information for all enabled TPLs ...

Processing enabled TPL: Pthread (enabled explicitly, disable with -DTPL_ENABLE_Pthread=OFF)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
Processing enabled TPL: MPI (enabled explicitly, disable with -DTPL_ENABLE_MPI=OFF)
Processing enabled TPL: BLAS (enabled by TeuchosNumerics, disable with -DTPL_ENABLE_BLAS=OFF)
-- BLAS_LIBRARY_NAMES='blas'
-- Searching for libs in BLAS_LIBRARY_DIRS='/Users/j0529096/Documents/code/thirdPartyLibs/install-default-release/lapack_suite/lib64'
-- Searching for a lib in the set "blas":
--   Searching for lib 'blas' ...
--     Found lib '/usr/lib/libblas.dylib'
-- TPL_BLAS_LIBRARIES='/usr/lib/libblas.dylib'
Processing enabled TPL: LAPACK (enabled by TeuchosNumerics, disable with -DTPL_ENABLE_LAPACK=OFF)
-- LAPACK_LIBRARY_NAMES='lapack'
-- Searching for libs in LAPACK_LIBRARY_DIRS='/Users/j0529096/Documents/code/thirdPartyLibs/install-default-release/lapack_suite/lib64'
-- Searching for a lib in the set "lapack":
--   Searching for lib 'lapack' ...
--     Found lib '/usr/lib/liblapack.dylib'
-- TPL_LAPACK_LIBRARIES='/usr/lib/liblapack.dylib'
Processing enabled TPL: DLlib (enabled explicitly, disable with -DTPL_ENABLE_DLlib=OFF)
-- Attempting to tentatively enable TPL 'DLlib' ...
-- DLlib_LIBRARY_NAMES='dl'
-- Searching for libs in DLlib_LIBRARY_DIRS=''
-- Searching for a lib in the set "dl":
--   Searching for lib 'dl' ...
--     Found lib '/usr/lib/libdl.dylib'
-- TPL_DLlib_LIBRARIES='/usr/lib/libdl.dylib'
-- Attempt to tentatively enable TPL 'DLlib' passed!

Setting up testing support ...

-- CTEST_DROP_METHOD='http'
-- CTEST_DROP_SITE='testing-vm.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: Kokkos (Core, Containers, Algorithms)
LEGACY STUFF GETTING CALLED
Processing enabled package: Teuchos (Core, Parser, 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 - Failed
-- Performing Test HAVE_TEUCHOS_BLASFLOAT_APPLE_VECLIB_BUGFIX
-- Performing Test HAVE_TEUCHOS_BLASFLOAT_APPLE_VECLIB_BUGFIX - Failed
-- Performing Test HAVE_TEUCHOS_BLASFLOAT_DOUBLE_RETURN
-- Performing Test HAVE_TEUCHOS_BLASFLOAT_DOUBLE_RETURN - Success
-- Performing Test LAPACK_SLAPY2_WORKS
-- Performing Test LAPACK_SLAPY2_WORKS - Failed
-- Performing Test LAPACK_SLAPY2_WITH_DOUBLE_WORKS
-- Performing Test LAPACK_SLAPY2_WITH_DOUBLE_WORKS - Success
-- Performing Test HAVE_TEUCHOS_LAPACKLARND
-- Performing Test HAVE_TEUCHOS_LAPACKLARND - Failed
-- 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 - Failed
-- C++ compiler does NOT support __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
-- Wrapping every Teuchos timer with a Kokkos profiling region.
Processing enabled package: KokkosKernels (Libs)

=======================
KokkosKernels ETI Types
   Devices:  <Serial,HostSpace>
   Scalars:  double
   Ordinals: int
   Offsets:  int;size_t

KokkosKernels TPLs
   BLAS
=======================

Processing enabled package: RTOp (Libs)
Processing enabled package: Sacado (Libs)
-- Performing Test HAS_C99_TR1_CMATH
-- Performing Test HAS_C99_TR1_CMATH - Success
Processing enabled package: Epetra (Libs)
-- Looking for dggsvd3
-- Looking for dggsvd3 - not found
-- Looking for DGGSVD3
-- Looking for DGGSVD3 - not found
-- Looking for DGGSVD3_
-- Looking for DGGSVD3_ - not found
Found new version of lapack. dggsvd3 is available.
Processing enabled package: Zoltan (Libs)
Processing enabled package: Shards (Libs)
Processing enabled package: Triutils (Libs)
Processing enabled package: Tpetra (Classic, TSQR, Core)
-- Determine whether Tpetra will assume that MPI is CUDA aware:
--   - Tpetra_ENABLE_CUDA is OFF, so Tpetra will assume that MPI is not CUDA aware.
-- Tpetra execution space availability (ON means available):
--   - Serial:  ON
--   - Threads: OFF
--   - OpenMP:  OFF
--   - Cuda:    OFF
-- Setting default Node to Kokkos::Compat::KokkosSerialWrapperNode.
-- Not enabling Tpetra/RTI
Processing enabled package: TrilinosSS (Libs)
Processing enabled package: EpetraExt (Libs)
Processing enabled package: Thyra (Core, EpetraAdapters, EpetraExtAdapters, TpetraAdapters)
Processing enabled package: Xpetra (Libs)
-- Xpetra support for 32 bit Epetra enabled.
--    Xpetra_Epetra_NO_32BIT_GLOBAL_INDICES=OFF
-- Xpetra support for 64 bit Epetra enabled.
--    Xpetra_Epetra_NO_64BIT_GLOBAL_INDICES=OFF
Processing enabled package: Isorropia (Libs)
Processing enabled package: AztecOO (Libs)
Processing enabled package: Galeri (Libs)
Processing enabled package: Amesos (Libs)
Processing enabled package: Pamgen (Libs)
Processing enabled package: Zoltan2 (Libs)
Processing enabled package: Ifpack (Libs)
Processing enabled package: ML (Libs)
Processing enabled package: Belos (Libs)
Processing enabled package: ShyLU_Node (HTS, Tacho)
Processing enabled package: Amesos2 (Libs)
Processing enabled package: Anasazi (Libs)
Processing enabled package: Ifpack2 (Libs)
Processing enabled package: Stratimikos (Libs)
Processing enabled package: Teko (Libs)
Processing enabled package: Intrepid (Libs)
Processing enabled package: Intrepid2 (Libs)
Processing enabled package: NOX (Libs)
Processing enabled package: MueLu (Libs)
-- MueLu_MasterList: NOT added test because MueLu_ENABLE_TESTS=''.
Processing enabled package: Stokhos (Libs)
-- Looking for C++ include immintrin.h
-- Looking for C++ include immintrin.h - found
Processing enabled package: TrilinosCouplings (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} LO={int} GO={int} N={Kokkos::Compat::KokkosSerialWrapperNode};S={int} LO={int} GO={long long} N={Kokkos::Compat::KokkosSerialWrapperNode};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!
herve-gross commented 5 years ago

And here are TPL config outputs:

j0529096 DN525jil:~/Documents/code/thirdPartyLibs [76]% python scripts/config-build.py -hc ../GEOSX/host-configs/default.cmake -bt Release
Using host config file: '/Users/j0529096/Documents/code/GEOSX/host-configs/default.cmake'.
buildpath =  build-default-release
Creating build directory '/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release'...
Creating install path '/Users/j0529096/Documents/code/thirdPartyLibs/install-default-release'...
Extracting cmake entry from host config file  /Users/j0529096/Documents/code/GEOSX/host-configs/default.cmake
Could not find a cmake entry in host config file.
Changing to build directory...
Executing cmake line: 'cmake -C /Users/j0529096/Documents/code/GEOSX/host-configs/default.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Users/j0529096/Documents/code/thirdPartyLibs/install-default-release /Users/j0529096/Documents/code/thirdPartyLibs/scripts/.. '

loading initial cache file /Users/j0529096/Documents/code/GEOSX/host-configs/default.cmake
-- The C compiler identification is AppleClang 10.0.1.10010046
-- The CXX compiler identification is AppleClang 10.0.1.10010046
-- The Fortran compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Checking whether Fortran compiler has -isysroot
-- Checking whether Fortran compiler has -isysroot - yes
-- Checking whether Fortran compiler supports OSX deployment target flag
-- Checking whether Fortran compiler supports OSX deployment target flag - yes
-- Check for working Fortran compiler: /usr/local/bin/gfortran
-- Check for working Fortran compiler: /usr/local/bin/gfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/local/bin/gfortran supports Fortran 90
-- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- yes
-- BLT Version: 0.2.0
-- CMake Version: 3.14.5
-- CMake Executable: /usr/local/Cellar/cmake/3.14.5/bin/cmake
-- Found Git: /usr/local/bin/git (found version "2.22.0")
-- Git Support is ON
-- Git Executable: /usr/local/bin/git
-- Git Version: 2.22.0
-- MPI Support is ON
-- Found MPI_C: /usr/local/Cellar/open-mpi/4.0.1_1/lib/libmpi.dylib (found version "3.1")
-- Found MPI_CXX: /usr/local/Cellar/open-mpi/4.0.1_1/lib/libmpi.dylib (found version "3.1")
-- Found MPI_Fortran: /usr/local/Cellar/open-mpi/4.0.1_1/lib/libmpi_usempif08.dylib (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- MPI C Compile Flags:
-- MPI C Include Path:   /usr/local/Cellar/open-mpi/4.0.1_1/include
-- MPI C Link Flags:     -L/usr/local/Cellar/libevent/2.1.10/lib
-- MPI C Libraries:      /usr/local/Cellar/open-mpi/4.0.1_1/lib/libmpi.dylib
-- MPI CXX Compile Flags:
-- MPI CXX Include Path:  /usr/local/Cellar/open-mpi/4.0.1_1/include
-- MPI CXX Link Flags:    -L/usr/local/Cellar/libevent/2.1.10/lib
-- MPI CXX Libraries:     /usr/local/Cellar/open-mpi/4.0.1_1/lib/libmpi.dylib
-- MPI Executable:       /usr/local/bin/mpiexec
-- MPI Num Proc Flag:    -n
-- MPI Command Append:
CMake Warning (dev) at cmake/blt/cmake/BLTMacros.cmake:294 (set):
  implicitly converting 'LIST' to 'STRING' type.
Call Stack (most recent call first):
  cmake/blt/cmake/thirdparty/SetupMPI.cmake:46 (blt_register_library)
  cmake/blt/cmake/thirdparty/SetupThirdParty.cmake:32 (include)
  cmake/blt/SetupBLT.cmake:97 (include)
  CMakeLists.txt:29 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/blt/cmake/BLTMacros.cmake:318 (set):
  implicitly converting 'LIST' to 'STRING' type.
Call Stack (most recent call first):
  cmake/blt/cmake/thirdparty/SetupMPI.cmake:46 (blt_register_library)
  cmake/blt/cmake/thirdparty/SetupThirdParty.cmake:32 (include)
  cmake/blt/SetupBLT.cmake:97 (include)
  CMakeLists.txt:29 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- CUDA Support is OFF
-- ROCM Support is OFF
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.15") found components:  doxygen missing components:  dot
-- Sphinx support is ON
-- Found Sphinx: /usr/local/bin/sphinx-build
-- Valgrind support is ON
-- Failed to locate Valgrind executable (missing: VALGRIND_EXECUTABLE)
-- Uncrustify support is OFF
-- AStyle support is ON
-- Failed to locate AStyle executable (missing: ASTYLE_EXECUTABLE)
-- Cppcheck support is ON
-- Failed to locate Cppcheck executable (missing: CPPCHECK_EXECUTABLE)
-- ClangQuery support is
CMake Warning (dev) at cmake/blt/SetupBLT.cmake:160 (set):
  implicitly converting 'LIST' to 'STRING' type.
Call Stack (most recent call first):
  CMakeLists.txt:29 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/blt/SetupBLT.cmake:162 (set):
  implicitly converting 'LIST' to 'STRING' type.
Call Stack (most recent call first):
  CMakeLists.txt:29 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- C Compiler family is Clang
-- Fortran Compiler family is GNU
-- OpenMP Support is OFF
-- Adding optional BLT definitions and compiler flags
-- Standard C++11 selected
-- Enabling all compiler warnings on all targets.
-- Fortran support disabled.
-- CMAKE_C_FLAGS flags are:    -Wall -Wextra
-- CMAKE_CXX_FLAGS flags are:       -Wall -Wextra
-- CMAKE_EXE_LINKER_FLAGS flags are:
-- Google Test Support is ON
-- Google Mock Support is OFF
CMake Deprecation Warning at cmake/blt/thirdparty_builtin/googletest-master-2018-02-01/googletest/CMakeLists.txt:65 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

-- Found PythonInterp: /usr/bin/python (found version "2.7.10")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
CMake Warning (dev) at cmake/blt/cmake/BLTMacros.cmake:294 (set):
  implicitly converting 'LIST' to 'STRING' type.
Call Stack (most recent call first):
  cmake/blt/thirdparty_builtin/CMakeLists.txt:83 (blt_register_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/blt/cmake/BLTMacros.cmake:318 (set):
  implicitly converting 'LIST' to 'STRING' type.
Call Stack (most recent call first):
  cmake/blt/thirdparty_builtin/CMakeLists.txt:83 (blt_register_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/blt/cmake/BLTMacros.cmake:338 (set):
  implicitly converting 'LIST' to 'STRING' type.
Call Stack (most recent call first):
  cmake/blt/thirdparty_builtin/CMakeLists.txt:83 (blt_register_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Build command = make -j 16
-- Building LAPACK_SUITE found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/lapack-3.8.0-WITHLAPACKH.tar.gz
-- CMAKE_Fortran_FLAGS= -O3 -DNDEBUG -O3
-- BLAS_LIBRARY_DIRS = /Users/j0529096/Documents/code/thirdPartyLibs/install-default-release/lapack_suite/lib64
-- BLAS_LIBRARY_NAMES = blas
-- LAPACK_LIBRARY_DIRS = /Users/j0529096/Documents/code/thirdPartyLibs/install-default-release/lapack_suite/lib64
-- LAPACK_LIBRARY_NAMES = lapack
-- Building uncrustify found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/uncrustify-0.67.tar.gz
-- Building HDF5 found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/hdf5-1.10.3.tar.gz
-- Building Conduit found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/conduit-0.3.2.tar.gz
-- Building Axom found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/axom-10-5-2018.tar.gz
-- Building SILO found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/silo-4.10.3.mpiposix_patch.tar.gz
-- Building RAJA found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/RAJA-0.6.0rc3.tar.gz
-- Building CHAI found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/chai-bugfix-corbett-memory-leak-4-5-19.tar.gz
-- Building FPARSER found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/fparser4.5.2.zip
-- CALIPER disabled
-- Building MATHPRESSO found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/mathpresso-2015-12-15.tar.gz
-- Building PUGIXML found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/pugixml-1.8.0.tar.gz
-- Building TRILINOS found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/trilinos-release-12-14-1.tar.gz
-- TRILINOS_EXTRA_ARGS = -D;HAVE_dggsvd3_POST=1
-- Building PARMETIS found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/parmetis-4.0.3-IDXTYPEWIDTH_64.tar.gz
-- Building METIS found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/parmetis-4.0.3-IDXTYPEWIDTH_64.tar.gz
-- Building SUPERLU found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/superlu_dist-6.0.0-trisolve.tar.gz
-- Building HYPRE found at /Users/j0529096/Documents/code/thirdPartyLibs/tplMirror/hypre-2.15.0.tar.gz
-- Building= lapack_suite;uncrustify;hdf5;conduit;axom;silo;raja;chai;fparser;mathpresso;pugixml;trilinos;parmetis;metis;superlu_dist;hypre
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/j0529096/Documents/code/thirdPartyLibs/build-default-release
corbett5 commented 5 years ago

Thanks! So Trilinos isn't finding the blas in the lapack_suite. Does /Users/j0529096/Documents/code/thirdPartyLibs/install-default-release/lapack_suite/lib64 exist? Do the blas and lapack libraries exist there? If they exist under the lib directory than #34 should fix this.

herve-gross commented 5 years ago

I just did a fresh pull (which includes the lib64 fix). Now I have a different error:

clang: error: unable to execute command: posix_spawn failed: Resource temporarily unavailable
make[5]: *** [LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_sgebrd.c.o] Error 1
make[5]: *** Waiting for unfinished jobs....
[ 55%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_sgejsv.c.o
[ 55%] Building C object LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_sgehrd_work.c.o
/bin/sh: fork: Resource temporarily unavailable
make[5]: *** [LAPACKE/CMakeFiles/lapacke.dir/src/lapacke_sgehrd_work.c.o] Error 128
make[4]: *** [LAPACKE/CMakeFiles/lapacke.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [lapack_suite/src/lapack_suite-stamp/lapack_suite-build] Error 2
make[1]: *** [CMakeFiles/lapack_suite.dir/all] Error 2
make: *** [all] Error 2

I did what Stackoverflow recommended (rebooting my machine and trying again) to no avail. Any clue?

corbett5 commented 5 years ago

Did you pass a definition of NUM_PROC to the config-build script? For example ./scripts/config-build.py -hc OSX.cmake -bt Release -DNUM_PROC=16. The build command is make -j NUM_PROC and I changed NUM_PROC to default to "" which means make will not limit the number of jobs spawned. The lapack_suite contains a source file for every blas/lapack routine and has very few dependencies so make will spawn a ton of jobs which could swamp the system. I'd recommend setting NUM_PROC to at least twice the number of cores on your system.

herve-gross commented 5 years ago

No, I did not pass NUM_PROC to the config-build script. I will try this (after I am done running make inside the lapack_suite folder). I will keep you posted, @corbett5 .

herve-gross commented 5 years ago

OK, I have been able to build lapack_suite (by running make inside the build folder of lapack_suite). Now, I tried to run make on the TPLs again, at the root folder, and I end up with the same error due to Trilinos trying to use the system lapack. Of course, when I configured CMake, I did not have a local version of Lapack, hence the fall back to system libraries. How do I get out of this Catch 22? How can I reconfigure Trilinos without wiping off the entire build directory (including the local Lapack)?

corbett5 commented 5 years ago

Our tpls don't do to well with incremental builds unfortunately. You could go to <build-dir>/trilinos/src/trilinos-buid and run cmake .. This will reconfigure Trilinos, but since the cache is still present I'm not certain it will find the libraries in the lapack_suite. If that doesn't work you could try editing the cache yourself to point it to the right lapack/blas. However we want to make sure that this works from scratch without any manual editing so I would just wipe the build directory, reconfigure with a definition for NUM_PROC and then do make trilinos. This will build the lapack_suite (should be quick) and then try and build Trilinos.

herve-gross commented 5 years ago

Running CMake on trilinos-build alone was indeed not sufficient. Going the DNUM_PROC route omn a a fresh pull right now...

herve-gross commented 5 years ago

Still the same problem, reverting to system lapack...

Here is the Trilinos config console output:

[ 96%] Built target hypre
-- Performing Test HAVE_TEUCHOS_BLASFLOAT_DOUBLE_RETURN - Success
-- Performing Test LAPACK_SLAPY2_WORKS
-- Performing Test LAPACK_SLAPY2_WORKS - Failed
-- Performing Test LAPACK_SLAPY2_WITH_DOUBLE_WORKS
-- Performing Test LAPACK_SLAPY2_WITH_DOUBLE_WORKS - Success
-- Performing Test HAVE_TEUCHOS_LAPACKLARND
-- Performing Test HAVE_TEUCHOS_LAPACKLARND - Failed
-- 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 - Failed
-- C++ compiler does NOT support __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
-- Wrapping every Teuchos timer with a Kokkos profiling region.
Processing enabled package: KokkosKernels (Libs)

=======================
KokkosKernels ETI Types
   Devices:  <Serial,HostSpace>
   Scalars:  double
   Ordinals: int
   Offsets:  int;size_t

KokkosKernels TPLs
   BLAS
=======================

Processing enabled package: RTOp (Libs)
Processing enabled package: Sacado (Libs)
-- Performing Test HAS_C99_TR1_CMATH
-- Performing Test HAS_C99_TR1_CMATH - Success
Processing enabled package: Epetra (Libs)
-- Looking for dggsvd3
-- Looking for dggsvd3 - not found
-- Looking for DGGSVD3
-- Looking for DGGSVD3 - not found
-- Looking for DGGSVD3_
-- Looking for DGGSVD3_ - not found
Found new version of lapack. dggsvd3 is available.
Processing enabled package: Zoltan (Libs)
Processing enabled package: Shards (Libs)
Processing enabled package: Triutils (Libs)
Processing enabled package: Tpetra (Classic, TSQR, Core)
-- Determine whether Tpetra will assume that MPI is CUDA aware:
--   - Tpetra_ENABLE_CUDA is OFF, so Tpetra will assume that MPI is not CUDA aware.
-- Tpetra execution space availability (ON means available):
--   - Serial:  ON
--   - Threads: OFF
--   - OpenMP:  OFF
--   - Cuda:    OFF
-- Setting default Node to Kokkos::Compat::KokkosSerialWrapperNode.
-- Not enabling Tpetra/RTI
Processing enabled package: TrilinosSS (Libs)
Processing enabled package: EpetraExt (Libs)
Processing enabled package: Thyra (Core, EpetraAdapters, EpetraExtAdapters, TpetraAdapters)
Processing enabled package: Xpetra (Libs)
-- Xpetra support for 32 bit Epetra enabled.
--    Xpetra_Epetra_NO_32BIT_GLOBAL_INDICES=OFF
-- Xpetra support for 64 bit Epetra enabled.
--    Xpetra_Epetra_NO_64BIT_GLOBAL_INDICES=OFF
Processing enabled package: Isorropia (Libs)
Processing enabled package: AztecOO (Libs)
Processing enabled package: Galeri (Libs)
Processing enabled package: Amesos (Libs)
Processing enabled package: Pamgen (Libs)
Processing enabled package: Zoltan2 (Libs)
Processing enabled package: Ifpack (Libs)
Processing enabled package: ML (Libs)
Processing enabled package: Belos (Libs)
Processing enabled package: ShyLU_Node (HTS, Tacho)
Processing enabled package: Amesos2 (Libs)
Processing enabled package: Anasazi (Libs)
Processing enabled package: Ifpack2 (Libs)
Processing enabled package: Stratimikos (Libs)
Processing enabled package: Teko (Libs)
Processing enabled package: Intrepid (Libs)
Processing enabled package: Intrepid2 (Libs)
Processing enabled package: NOX (Libs)
Processing enabled package: MueLu (Libs)
-- MueLu_MasterList: NOT added test because MueLu_ENABLE_TESTS=''.
Processing enabled package: Stokhos (Libs)
-- Looking for C++ include immintrin.h
-- Looking for C++ include immintrin.h - found
Processing enabled package: TrilinosCouplings (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} LO={int} GO={int} N={Kokkos::Compat::KokkosSerialWrapperNode};S={int} LO={int} GO={long long} N={Kokkos::Compat::KokkosSerialWrapperNode};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
-- Build files have been written to: /Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build
[ 97%] Performing build step for 'trilinos'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
Scanning dependencies of target pamgen_extras
Scanning dependencies of target kokkoscore
Scanning dependencies of target shards
Scanning dependencies of target pamgen
Scanning dependencies of target MueLu_CopyMasterListTestCpp
Scanning dependencies of target MueLu_CopyMasterListTestFiles
Scanning dependencies of target MueLu_CopyMasterListTest
Scanning dependencies of target trilinosss
Scanning dependencies of target zoltan

The error is the same again (mind the usr/lib/libblas.dylib at the end, showing that it tries to use system dynamic libs):

[ 46%] Linking CXX shared library libepetra.dylib
/usr/local/bin/mpic++         -w -std=c++11 -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 12.0.0 -current_version 12.14.1 -o libepetra.12.14.1.dylib -install_name @rpath/libepetra.12.dylib CMakeFiles/epetra.dir/Epetra_BLAS.cpp.o CMakeFiles/epetra.dir/Epetra_BasicDirectory.cpp.o CMakeFiles/epetra.dir/Epetra_BasicRowMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_BlockMap.cpp.o CMakeFiles/epetra.dir/Epetra_BlockMapData.cpp.o CMakeFiles/epetra.dir/Epetra_C_wrappers.cpp.o CMakeFiles/epetra.dir/Epetra_CompObject.cpp.o CMakeFiles/epetra.dir/Epetra_CrsGraph.cpp.o CMakeFiles/epetra.dir/Epetra_CrsGraphData.cpp.o CMakeFiles/epetra.dir/Epetra_CrsMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_CrsSingletonFilter.cpp.o CMakeFiles/epetra.dir/Epetra_Data.cpp.o CMakeFiles/epetra.dir/Epetra_DistObject.cpp.o CMakeFiles/epetra.dir/Epetra_Export.cpp.o CMakeFiles/epetra.dir/Epetra_FECrsGraph.cpp.o CMakeFiles/epetra.dir/Epetra_FECrsMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_FEVbrMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_FEVector.cpp.o CMakeFiles/epetra.dir/Epetra_Flops.cpp.o CMakeFiles/epetra.dir/Epetra_Fortran_wrappers.cpp.o CMakeFiles/epetra.dir/Epetra_Import.cpp.o CMakeFiles/epetra.dir/Epetra_Import_Util.cpp.o CMakeFiles/epetra.dir/Epetra_IntMultiVector.cpp.o CMakeFiles/epetra.dir/Epetra_IntSerialDenseMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_IntSerialDenseVector.cpp.o CMakeFiles/epetra.dir/Epetra_IntVector.cpp.o CMakeFiles/epetra.dir/Epetra_JadMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_LAPACK.cpp.o CMakeFiles/epetra.dir/Epetra_LinearProblem.cpp.o CMakeFiles/epetra.dir/Epetra_LocalMap.cpp.o CMakeFiles/epetra.dir/Epetra_Map.cpp.o CMakeFiles/epetra.dir/Epetra_MapColoring.cpp.o CMakeFiles/epetra.dir/Epetra_MultiVector.cpp.o CMakeFiles/epetra.dir/Epetra_Object.cpp.o CMakeFiles/epetra.dir/Epetra_OffsetIndex.cpp.o CMakeFiles/epetra.dir/Epetra_RowMatrixTransposer.cpp.o CMakeFiles/epetra.dir/Epetra_SerialComm.cpp.o CMakeFiles/epetra.dir/Epetra_SerialCommData.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDenseMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDenseSVD.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDenseSolver.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDenseVector.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDistributor.cpp.o CMakeFiles/epetra.dir/Epetra_SerialSpdDenseSolver.cpp.o CMakeFiles/epetra.dir/Epetra_SerialSymDenseMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_Time.cpp.o CMakeFiles/epetra.dir/Epetra_Util.cpp.o CMakeFiles/epetra.dir/Epetra_VbrMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_Vector.cpp.o CMakeFiles/epetra.dir/Epetra_LongLongSerialDenseMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_LongLongSerialDenseVector.cpp.o CMakeFiles/epetra.dir/Epetra_LongLongVector.cpp.o CMakeFiles/epetra.dir/Epetra_MpiComm.cpp.o CMakeFiles/epetra.dir/Epetra_MpiCommData.cpp.o CMakeFiles/epetra.dir/Epetra_MpiDistributor.cpp.o -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/kokkoscomm/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/kokkoscompat/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/remainder/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/numerics/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/comm/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/parameterlist/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/parser/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/teuchos/core/src -Wl,-rpath,/Users/j0529096/Documents/code/thirdPartyLibs/build-default-release/trilinos/src/trilinos-build/packages/kokkos/core/src ../../teuchos/kokkoscomm/src/libteuchoskokkoscomm.12.14.1.dylib ../../teuchos/kokkoscompat/src/libteuchoskokkoscompat.12.14.1.dylib ../../teuchos/remainder/src/libteuchosremainder.12.14.1.dylib ../../teuchos/numerics/src/libteuchosnumerics.12.14.1.dylib ../../teuchos/comm/src/libteuchoscomm.12.14.1.dylib ../../teuchos/parameterlist/src/libteuchosparameterlist.12.14.1.dylib ../../teuchos/parser/src/libteuchosparser.12.14.1.dylib ../../teuchos/core/src/libteuchoscore.12.14.1.dylib /usr/lib/liblapack.dylib /usr/lib/libblas.dylib ../../kokkos/core/src/libkokkoscore.12.14.1.dylib /usr/lib/libdl.dylib
Undefined symbols for architecture x86_64:
  "_dggsvd3_", referenced from:
      Epetra_LAPACK::GGSVD(char, char, char, int, int, int, int*, int*, double*, int, double*, int, double*, double*, double*, int, double*, int, double*, int, double*, int, int*, int*) const in Epetra_LAPACK.cpp.o
  "_sggsvd3_", referenced from:
      Epetra_LAPACK::GGSVD(char, char, char, int, int, int, int*, int*, float*, int, float*, int, float*, float*, float*, int, float*, int, float*, int, float*, int, int*, int*) const in Epetra_LAPACK.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[5]: *** [packages/epetra/src/libepetra.12.14.1.dylib] Error 1
make[4]: *** [packages/epetra/src/CMakeFiles/epetra.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
corbett5 commented 5 years ago

:( The output from the Trilinos configure still included the following?

Processing enabled TPL: BLAS (enabled by TeuchosNumerics, disable with -DTPL_ENABLE_BLAS=OFF)
-- BLAS_LIBRARY_NAMES='blas'
-- Searching for libs in BLAS_LIBRARY_DIRS='/Users/j0529096/Documents/code/thirdPartyLibs/install-default-release/lapack_suite/lib64'
-- Searching for a lib in the set "blas":
--   Searching for lib 'blas' ...
--     Found lib '/usr/lib/libblas.dylib'
-- TPL_BLAS_LIBRARIES='/usr/lib/libblas.dylib'
Processing enabled TPL: LAPACK (enabled by TeuchosNumerics, disable with -DTPL_ENABLE_LAPACK=OFF)
-- LAPACK_LIBRARY_NAMES='lapack'
-- Searching for libs in LAPACK_LIBRARY_DIRS='/Users/j0529096/Documents/code/thirdPartyLibs/install-default-release/lapack_suite/lib64'
-- Searching for a lib in the set "lapack":
--   Searching for lib 'lapack' ...
--     Found lib '/usr/lib/liblapack.dylib'
-- TPL_LAPACK_LIBRARIES='/usr/lib/liblapack.dylib'
herve-gross commented 5 years ago

This is what it includes: (note the 64 being back...)

Processing enabled TPL: MPI (enabled explicitly, disable with -DTPL_ENABLE_MPI=OFF)
Processing enabled TPL: BLAS (enabled by TeuchosNumerics, disable with -DTPL_ENABLE_BLAS=OFF)
-- BLAS_LIBRARY_NAMES='blas'
-- Searching for libs in BLAS_LIBRARY_DIRS='/Users/j0529096/Documents/code/thirdPartyLibs/install-default-release/lapack_suite/lib64'
-- Searching for a lib in the set "blas":
--   Searching for lib 'blas' ...
--     Found lib '/usr/lib/libblas.dylib'
-- TPL_BLAS_LIBRARIES='/usr/lib/libblas.dylib'
Processing enabled TPL: LAPACK (enabled by TeuchosNumerics, disable with -DTPL_ENABLE_LAPACK=OFF)
-- LAPACK_LIBRARY_NAMES='lapack'
-- Searching for libs in LAPACK_LIBRARY_DIRS='/Users/j0529096/Documents/code/thirdPartyLibs/install-default-release/lapack_suite/lib64'
-- Searching for a lib in the set "lapack":
--   Searching for lib 'lapack' ...
--     Found lib '/usr/lib/liblapack.dylib'
-- TPL_LAPACK_LIBRARIES='/usr/lib/liblapack.dylib'
Processing enabled TPL: DLlib (enabled explicitly, disable with -DTPL_ENABLE_DLlib=OFF)
-- Attempting to tentatively enable TPL 'DLlib' ...
-- DLlib_LIBRARY_NAMES='dl'
2 warnings generated.
-- Searching for libs in DLlib_LIBRARY_DIRS=''
-- Searching for a lib in the set "dl":
--   Searching for lib 'dl' ...
--     Found lib '/usr/lib/libdl.dylib'
-- TPL_DLlib_LIBRARIES='/usr/lib/libdl.dylib'
-- Attempt to tentatively enable TPL 'DLlib' passed!
corbett5 commented 5 years ago

Can you show me the output of `ls /Users/j0529096/Documents/code/thirdPartyLibs/install-default-release/lapack_suite/?

herve-gross commented 5 years ago
lib
include
corbett5 commented 5 years ago

Ok so the CMake script isn't picking up that the library directory is lib not lib64. Are the changes from #36 present in your repo? If they are then I would talk with @af1990 to modify his changes to work on your system.

andrea-franceschini commented 5 years ago

It seems that (at least) on MacOS, even if FIND_LIBRARY_USE_LIB64_PATHS is TRUE, the default cmake path for libraries is lib. Maybe it happens also with other system, but I cannot check.

herve-gross commented 5 years ago

If I force the folder path to not have the 64 suffix, I am able to go beyond in my compilation, but then I stumble on the error mentionned in https://github.com/GEOSX/GEOSX/pull/470#issuecomment-504503904

herve-gross commented 5 years ago

As a temporary fix, commenting set(TRILINOS_EXTRA_ARGS ${TRILINOS_EXTRA_ARGS} -DHAVE_dggsvd3_POST=1 ) on line 122 of the TPL CMakeLists.txt seems to do the trick.

herve-gross commented 5 years ago

OK, just to close this issue (at least temporarily), with the help of @af1990 we found that commenting set(TRILINOS_EXTRA_ARGS ${TRILINOS_EXTRA_ARGS} -DHAVE_dggsvd3_POST=1 ) on line 122 of TPL CMakeLists.txt does the trick. Probably not a permanent solution, though.

rrsettgast commented 5 years ago

@herve-gross I reworked the build interaction with blas/lapack. Can you try again with the current GEOSX/develop and thirdPartyLibs/master?