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
We don't support MPI_Init( 0, 0 ), actually, and crash when this happens.
[simgrid.git]
/
teshsuite
/
smpi
/
mpich3-test
/
init
/
exitst2.c
diff --git
a/teshsuite/smpi/mpich3-test/init/exitst2.c
b/teshsuite/smpi/mpich3-test/init/exitst2.c
index
7a9b19c
..
d1b878a
100644
(file)
--- a/
teshsuite/smpi/mpich3-test/init/exitst2.c
+++ b/
teshsuite/smpi/mpich3-test/init/exitst2.c
@@
-13,7
+13,7
@@
int main( int argc, char *argv[] )
{
int rank;
- MPI_Init(
0, 0
);
+ MPI_Init(
&argc, &argv
);
MPI_Comm_rank( MPI_COMM_WORLD, &rank );
MPI_Finalize( );
return rank;