A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better use of signals for TRACE init/exit
[simgrid.git]
/
src
/
smpi
/
internals
/
smpi_deployment.cpp
diff --git
a/src/smpi/internals/smpi_deployment.cpp
b/src/smpi/internals/smpi_deployment.cpp
index
a3dbcef
..
4d800c3
100644
(file)
--- a/
src/smpi/internals/smpi_deployment.cpp
+++ b/
src/smpi/internals/smpi_deployment.cpp
@@
-58,7
+58,7
@@
void SMPI_app_instance_register(const char *name, xbt_main_func_t code, int num_
static int already_called = 0;
if (not already_called) {
already_called = 1;
static int already_called = 0;
if (not already_called) {
already_called = 1;
- std::vector<simgrid::s4u::Host*> list = simgrid::s4u::Engine::get
I
nstance()->get_all_hosts();
+ std::vector<simgrid::s4u::Host*> list = simgrid::s4u::Engine::get
_i
nstance()->get_all_hosts();
for (auto const& host : list) {
host->extension_set(new simgrid::smpi::SmpiHost(host));
}
for (auto const& host : list) {
host->extension_set(new simgrid::smpi::SmpiHost(host));
}