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
Fix test: program needs exactly 2 processes.
[simgrid.git]
/
examples
/
smpi
/
mc
/
mutual_exclusion.c
diff --git
a/examples/smpi/mc/mutual_exclusion.c
b/examples/smpi/mc/mutual_exclusion.c
index 628bb79f0eb3ecf8290926397b245c5f5cc7bdae..0fb0a756fb8fc20452e9285801fafc47359bc6b8 100644
(file)
--- a/
examples/smpi/mc/mutual_exclusion.c
+++ b/
examples/smpi/mc/mutual_exclusion.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2014-202
1
. The SimGrid Team.
+/* Copyright (c) 2014-202
3
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-27,7
+27,7
@@
int main(int argc, char **argv){
exit(1);
}
exit(1);
}
- MC_ignore(&
(status.count), sizeof(status.count)
);
+ MC_ignore(&
status.count, sizeof status.count
);
/* Get number of processes */
MPI_Comm_size(MPI_COMM_WORLD, &size);
/* Get number of processes */
MPI_Comm_size(MPI_COMM_WORLD, &size);