Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
smpi: initialize fields, and don't reset the actor each time we change the attached...
[simgrid.git] / src / smpi / internals / smpi_process.cpp
index 996fc71..48f6c6e 100644 (file)
@@ -70,7 +70,6 @@ void Process::set_data(int* argc, char*** argv)
   if (barrier != nullptr) // don't overwrite the current one if the instance has none
     finalization_barrier_ = barrier;
 
-  actor_                                                                        = simgrid::s4u::Actor::self();
   static_cast<simgrid::msg::ActorExt*>(actor_->get_impl()->get_user_data())->data = this;
 
   if (*argc > 3) {