Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a function to determine whether SMPI is currently used
[simgrid.git] / src / xbt / xbt_main.cpp
index 065f79a..1dc8020 100644 (file)
@@ -157,3 +157,10 @@ void xbt_abort()
 #endif
   abort();
 }
+
+#ifndef HAVE_SMPI
+int SMPI_is_inited()
+{
+  return false;
+}
+#endif
\ No newline at end of file