Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rework SMPI initialization to handle argc and argv earlier than in MPI_Init when...
[simgrid.git] / teshsuite / smpi / pt2pt-dsend / pt2pt-dsend.c
index 33f6846..32a7656 100644 (file)
@@ -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) {