We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5151576 commit 0ab71cbCopy full SHA for 0ab71cb
1 file changed
CMakeLists.txt
@@ -41,7 +41,16 @@ endif()
41
#
42
# option related to MPI
43
44
-option(PUMI_NO_MPI "Disable MPI support. When enabled only serial execution is supported." OFF)
+if(SCOREC_NO_MPI)
45
+ message(DEPRECATION
46
+ "The SCOREC_NO_MPI option has been renamed to"
47
+ " PUMI_NO_MPI. Please update your configuration to use the new name.")
48
+ set(PUMI_NO_MPI_DEFAULT ON)
49
+endif()
50
+option(PUMI_NO_MPI
51
+ "Disable MPI support. When enabled only serial execution is supported."
52
+ ${PUMI_NO_MPI_DEFAULT}
53
+)
54
message(STATUS "PUMI_NO_MPI: ${PUMI_NO_MPI}")
55
if(PUMI_NO_MPI AND PUMI_ENABLE_CGNS)
56
message(FATAL_ERROR "PUMI_NO_MPI is incompatible with CGNS.")
0 commit comments