Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
We don't support MPI_Init( 0, 0 ), actually, and crash when this happens.
[simgrid.git] / teshsuite / smpi / mpich3-test / init / exitst3.c
index 9943e3b..3accbe4 100644 (file)
@@ -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 );