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 / exitst2.c
index 7a9b19c..d1b878a 100644 (file)
@@ -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;