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
remove (void) in C++
[simgrid.git]
/
src
/
smpi
/
smpi_deployment.cpp
diff --git
a/src/smpi/smpi_deployment.cpp
b/src/smpi/smpi_deployment.cpp
index
2dcf26e
..
791b8da
100644
(file)
--- a/
src/smpi/smpi_deployment.cpp
+++ b/
src/smpi/smpi_deployment.cpp
@@
-4,10
+4,10
@@
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include "private.h"
#include "simgrid/msg.h" /* barrier */
#include "simgrid/msg.h" /* barrier */
+#include "src/smpi/private.h"
+#include "src/smpi/smpi_comm.hpp"
#include "src/smpi/SmpiHost.hpp"
#include "src/smpi/SmpiHost.hpp"
-#include "xbt/log.h"
namespace simgrid {
namespace smpi {
namespace simgrid {
namespace smpi {
@@
-58,7
+58,7
@@
void SMPI_app_instance_register(const char *name, xbt_main_func_t code, int num_
SIMIX_function_register(name, code);
static int already_called = 0;
SIMIX_function_register(name, code);
static int already_called = 0;
- if (
!
already_called) {
+ if (
not
already_called) {
already_called = 1;
for (auto& item : simgrid::s4u::host_list) {
simgrid::s4u::Host* host = item.second;
already_called = 1;
for (auto& item : simgrid::s4u::host_list) {
simgrid::s4u::Host* host = item.second;