Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix bug happening with MPI_Datatypes
[simgrid.git] / src / smpi / smpi_pmpi.c
index cd51edd..988f0ad 100644 (file)
@@ -1390,7 +1390,6 @@ int PMPI_Wait(MPI_Request * request, MPI_Status * status)
       : -1;
   TRACE_smpi_computing_out(rank);
 
-  MPI_Group group = smpi_comm_group((*request)->comm);
   int src_traced = (*request)->src;
   int dst_traced = (*request)->dst;
   int is_wait_for_receive = (*request)->recv;
@@ -2024,7 +2023,7 @@ int PMPI_Type_contiguous(int count, MPI_Datatype old_type, MPI_Datatype* new_typ
   } else if (count<0){
     retval = MPI_ERR_COUNT;
   } else {
-    retval = smpi_datatype_contiguous(count, old_type, new_type);
+    retval = smpi_datatype_contiguous(count, old_type, new_type, 0);
   }
   smpi_bench_begin();
   return retval;