Ifpack2 build error on darwin: Clang, SERIAL_RELEASE
Created by: tjfulle
(@mhoemmen) On darwin (clang compiler, other TPLS installed via homebrew), using the checkin-test.py script to configure/build/test, I get the following error for the SERIAL_RELEASE build (the MPI_DEBUG build is fine):
[ 99%] Building CXX object packages/ifpack2/test/unit_tests/CMakeFiles/Ifpack2_Issue234.dir/Ifpack2_UnitTest234.cpp.o [ 99%] Linking CXX executable Ifpack2_ContainerFactory.exe Undefined symbols for architecture x86_64: "Ifpack2::LocalSparseTriangularSolver<Tpetra::RowMatrix<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::LocalSparseTriangularSolver(Teuchos::RCP<Tpetra::RowMatrix<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > const> const&)", referenced from: Ifpack2::ILUT<Tpetra::RowMatrix<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::compute() in Ifpack2_UnitTestContainerFactory.cpp.o "Ifpack2::LocalSparseTriangularSolver<Tpetra::RowMatrix<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::LocalSparseTriangularSolver(Teuchos::RCP<Tpetra::RowMatrix<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > const> const&)", referenced from: Ifpack2::ILUT<Tpetra::RowMatrix<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::compute() in Ifpack2_UnitTestContainerFactory.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[2]: *** [packages/ifpack2/test/unit_tests/Ifpack2_ContainerFactory.exe] Error 1 make[1]: * [packages/ifpack2/test/unit_tests/CMakeFiles/Ifpack2_ContainerFactory.dir/all] Error 2 make[1]: * Waiting for unfinished jobs.... [ 99%] Building CXX object packages/ifpack2/test/unit_tests/CMakeFiles/Ifpack2_Issue234.dir///__/teuchos/core/test/UnitTest/Teuchos_StandardUnitTestMain.cpp.o [ 99%] Linking CXX executable Ifpack2_AdditiveSchwarz.exe [ 99%] Built target Ifpack2_AdditiveSchwarz 1 warning generated. [ 99%] Linking CXX executable Ifpack2_LocalSparseTriangularSolver.exe [ 99%] Built target Ifpack2_LocalSparseTriangularSolver [ 99%] Linking CXX executable Ifpack2_Issue234.exe [ 99%] Built target Ifpack2_Issue234 make: *** [all] Error 2
Attached is the concatenation of the the do-configure.base and do-configure scripts generated by checkin-test.py
Other relevant information: System: Apple Mac OSX 10.11.6 Compiler family: Apple clang Branch: develop (fresh checkout) Build: SERIAL_RELEASE