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
Merge pull request #2 from mquinson/master
[simgrid.git]
/
src
/
smpi
/
smpi_bench.cpp
diff --git
a/src/smpi/smpi_bench.cpp
b/src/smpi/smpi_bench.cpp
index
ea344a0
..
695615d
100644
(file)
--- a/
src/smpi/smpi_bench.cpp
+++ b/
src/smpi/smpi_bench.cpp
@@
-184,7
+184,9
@@
void smpi_switch_data_segment(int dest);
void smpi_bench_begin(void)
{
- smpi_switch_data_segment(smpi_process_index());
+ if (smpi_privatize_global_variables) {
+ smpi_switch_data_segment(smpi_process_index());
+ }
if (MC_is_active() || MC_record_replay_is_active())
return;