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
http://abstrusegoose.com/432
[simgrid.git]
/
src
/
smpi
/
smpi_datatype.cpp
diff --git
a/src/smpi/smpi_datatype.cpp
b/src/smpi/smpi_datatype.cpp
index
52ca497
..
4ce4985
100644
(file)
--- a/
src/smpi/smpi_datatype.cpp
+++ b/
src/smpi/smpi_datatype.cpp
@@
-277,7
+277,7
@@
int Datatype::copy(void *sendbuf, int sendcount, MPI_Datatype sendtype,
XBT_DEBUG("Copy output buf %p is shared. Let's ignore it.", recvbuf);
}
XBT_DEBUG("Copy output buf %p is shared. Let's ignore it.", recvbuf);
}
- if(smpi_privatize_global_variables){
+ if(smpi_privatize_global_variables
== SMPI_PRIVATIZE_MMAP
){
smpi_switch_data_segment(smpi_process()->index());
}
/* First check if we really have something to do */
smpi_switch_data_segment(smpi_process()->index());
}
/* First check if we really have something to do */