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
Rework SMPI initialization to handle argc and argv earlier than in MPI_Init when...
[simgrid.git]
/
teshsuite
/
smpi
/
pt2pt-dsend
/
pt2pt-dsend.c
diff --git
a/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c
b/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c
index
33f6846
..
32a7656
100644
(file)
--- a/
teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c
+++ b/
teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c
@@
-15,7
+15,7
@@
int main(int argc, char *argv[]) {
int rank;
int32_t data=11;
int rank;
int32_t data=11;
- MPI_Init(
&argc, &argv
);
+ MPI_Init(
NULL, NULL
);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Request r;
if (rank==1) {
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Request r;
if (rank==1) {