Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Warn at build, and die painfully at execution time when trying to use smpi privatizat...
[simgrid.git] / CMakeLists.txt
index ae5f9c6..2363fac 100644 (file)
@@ -431,6 +431,9 @@ if(enable_smpi)
   elseif("${CMAKE_SYSTEM}" MATCHES "^FreeBSD")
     SET(USE_LIBUTIL 0)
     SET(HAVE_PRIVATIZATION 0)
+  else()
+    message (STATUS "Warning:  no support for SMPI automatic privatization on this platform")
+    SET(HAVE_PRIVATIZATION 0)
   endif()
 endif()