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
/
exitst3.c
diff --git
a/teshsuite/smpi/mpich3-test/init/exitst3.c
b/teshsuite/smpi/mpich3-test/init/exitst3.c
index
9943e3b
..
3accbe4
100644
(file)
--- a/
teshsuite/smpi/mpich3-test/init/exitst3.c
+++ b/
teshsuite/smpi/mpich3-test/init/exitst3.c
@@
-12,7
+12,7
@@
int main( int argc, char *argv[] )
{
int rank, size;
- MPI_Init(
0, 0
);
+ MPI_Init(
&argc, &argv
);
MPI_Comm_rank( MPI_COMM_WORLD, &rank );
MPI_Comm_size( MPI_COMM_WORLD, &size );
MPI_Barrier( MPI_COMM_WORLD );