]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/internals/smpi_actor.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill smpi_process_count(), use smpi_get_universe_size() instead
[simgrid.git] / src / smpi / internals / smpi_actor.cpp
index 3a5af912638f1536aafe3f5022d6c65ac867cf47..c4c7e81e5e5848e86448b3e0b66546c02c2ae9d0 100644 (file)
@@ -221,8 +221,8 @@ int ActorExt::sampling()
 
 void ActorExt::init()
 {
-  xbt_assert(smpi_process_count() != 0, "SimGrid was not initialized properly before entering MPI_Init. "
-                                        "Aborting, please check compilation process and use smpirun.");
+  xbt_assert(smpi_get_universe_size() != 0, "SimGrid was not initialized properly before entering MPI_Init. "
+                                            "Aborting, please check compilation process and use smpirun.");
 
   simgrid::s4u::ActorPtr proc = simgrid::s4u::Actor::self();
   // cheinrich: I'm not sure what the impact of the SMPI_switch_data_segment on this call is. I moved