The problem that I encountered during reconfigure "make" for trilinos12.12 is that there are many warnings such as:
[ 1%] Building CXX object packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_RCPNode.cpp.o
In file included from /home/firehawk/SGCC/trilinos-12.12.1-Source/packages/teuchos/core/src/Teuchos_Assert.hpp:46:0,
from /home/firehawk/SGCC/trilinos-12.12.1-Source/packages/teuchos/core/src/Teuchos_any.hpp:51,
from /home/firehawk/SGCC/trilinos-12.12.1-Source/packages/teuchos/core/src/Teuchos_RCPNode.hpp:53,
from /home/firehawk/SGCC/trilinos-12.12.1-Source/packages/teuchos/core/src/Teuchos_RCPNode.cpp:42:
/home/firehawk/SGCC/trilinos-12.12.1-Source/packages/teuchos/core/src/Teuchos_RCPNode.cpp: In destructor ‘Teuchos::ActiveRCPNodesSetup::~ActiveRCPNodesSetup()’:
/home/firehawk/SGCC/trilinos-12.12.1-Source/packages/teuchos/core/src/Teuchos_TestForException.hpp:183:28: warning: throw will always call terminate() [-Wterminate]
throw Exception(omsgstr); \
^
/home/firehawk/SGCC/trilinos-12.12.1-Source/packages/teuchos/core/src/Teuchos_TestForException.hpp:305:3: note: in expansion of macro ‘TEUCHOS_TEST_FOR_EXCEPTION’
TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, std::logic_error, "Error!")
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/firehawk/SGCC/trilinos-12.12.1-Source/packages/teuchos/core/src/Teuchos_RCPNode.cpp:655:5: note: in expansion of macro ‘TEUCHOS_TEST_FOR_EXCEPT’
TEUCHOS_TEST_FOR_EXCEPT(0==rcp_node_list());
^~~~~~~~~~~~~~~~~~~~~~~
/home/firehawk/SGCC/trilinos-12.12.1-Source/packages/teuchos/core/src/Teuchos_TestForException.hpp:183:28: note: in C++11 destructors default to noexcept
throw Exception(omsgstr); \
^
/home/firehawk/SGCC/trilinos-12.12.1-Source/packages/teuchos/core/src/Teuchos_TestForException.hpp:305:3: note: in expansion of macro ‘TEUCHOS_TEST_FOR_EXCEPTION’
TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, std::logic_error, "Error!")
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/firehawk/SGCC/trilinos-12.12.1-Source/packages/teuchos/core/src/Teuchos_RCPNode.cpp:655:5: note: in expansion of macro ‘TEUCHOS_TEST_FOR_EXCEPT’
TEUCHOS_TEST_FOR_EXCEPT(0==rcp_node_list());
^~~~~~~~~~~~~~~~~~~~~~~
[ 1%] Building CXX object packages/teuchos/core/src/CMakeFiles/teuchoscore.dir/Teuchos_Range1D.cpp.o
And there are several others as well (shown in the file trilinos_output_screen). But it still ran through make and make install process.
Do you know what the problem is?