I'm having some trouble building Trilinos 10.0.2 with the following issue.
[alces@login1(Sonny) build]$ make
Scanning dependencies of target teuchos
[ 1%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_BLAS.cpp.o
[ 1%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CTimeMonitor.cpp.o
[ 1%] Building CXX object packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CommandLineProcessor.cpp.o
In file included from /home/alces/tril-src/trilinos-10.0.2-Source/packages/teuchos/src/Teuchos_VerboseObject.hpp:32:0,
from /home/alces/tril-src/trilinos-10.0.2-Source/packages/teuchos/src/Teuchos_CommandLineProcessor.cpp:34:
/home/alces/tril-src/trilinos-10.0.2-Source/packages/teuchos/src/Teuchos_RCP.hpp: In instantiation of ‘Teuchos::RCP<T>::RCP(T*, bool) [with T = std::basic_ostringstream<char>]’:
/home/alces/tril-src/trilinos-10.0.2-Source/packages/teuchos/src/Teuchos_RCP.hpp:437:28: required from ‘Teuchos::RCP<T> Teuchos::rcp(T*, bool) [with T = std::basic_ostringstream<char>]’
/home/alces/tril-src/trilinos-10.0.2-Source/packages/teuchos/src/Teuchos_FancyOStream.hpp:907:44: required from ‘void Teuchos::basic_FancyOStream_buf<CharT, Traits>::setOutputToRootOnly(int) [with CharT = char; Traits = std::char_traits<char>]’
/home/alces/tril-src/trilinos-10.0.2-Source/packages/teuchos/src/Teuchos_FancyOStream.hpp:1245:3: required from ‘Teuchos::basic_FancyOStream<CharT, Traits>& Teuchos::basic_FancyOStream<CharT, Traits>::setOutputToRootOnly(int) [with CharT = char; Traits = std::char_traits<char>]’
/home/alces/tril-src/trilinos-10.0.2-Source/packages/teuchos/src/Teuchos_CommandLineProcessor.cpp:270:64: required from here
/home/alces/tril-src/trilinos-10.0.2-Source/packages/teuchos/src/Teuchos_RCP.hpp:92:57: error: ‘RCP_createNewRCPNodeRawPtr’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
, node_(RCP_createNewRCPNodeRawPtr(p, has_ownership_in))
^
/home/alces/tril-src/trilinos-10.0.2-Source/packages/teuchos/src/Teuchos_RCP.hpp:382:10: note: ‘template<class T> Teuchos::RCPNode* Teuchos::RCP_createNewRCPNodeRawPtr(T*, bool)’ declared here, later in the translation unit
RCPNode* RCP_createNewRCPNodeRawPtr( T* p, bool has_ownership_in )
^
make[2]: *** [packages/teuchos/src/CMakeFiles/teuchos.dir/Teuchos_CommandLineProcessor.cpp.o] Error 1
make[1]: *** [packages/teuchos/src/CMakeFiles/teuchos.dir/all] Error 2
make: *** [all] Error 2
My cmake is the following (a bit bloated at this point to try to get it to work)
cmake -D CMAKE_INSTALL_PREFIX=/home/alces/tril-dest \
-D Trilinos_ENABLE_ALL_PACKAGES=ON \
-D BLAS_LIBRARY_DIRS=${BLASDIR} \
-D LAPACK_LIBRARY_DIRS=${LAPACKDIR} \
-D Trilinos_ENABLE_Boost=ON \
-D Teuchos_ENABLE_Boost=ON \
-D TPL_ENABLE_Boost=ON \
-D TPL_Boost_INCLUDE_DIRS=${BOOSTINCLUDE} \
-D TPL_Boost_LIBRARY_DIRS=${BOOSTLIB} \
-D Boost_INCLUDE_DIRS=${BOOSTINCLUDE} \
-D NETCFD_LIBRARY_DIRS=${NETCFDDIR} \
-DTPL_ENABLE_X11=OFF \
-DTPL_ENABLE_Matio=OFF \
..
Is there something I'm missing?
My code is currently located in the branch #431
I'm having some trouble building Trilinos 10.0.2 with the following issue.
My cmake is the following (a bit bloated at this point to try to get it to work)
Is there something I'm missing?
My code is currently located in the branch #431