Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add handling of the torus topology inside clusters
[simgrid.git] / teshsuite / smpi / hvector_test.c
index 86d1a403d33327aa0881e3e4c49bfb091b704e2c..f3cb04fc9c70268393333b62dd92d42cd65d4d9d 100644 (file)
@@ -5,7 +5,7 @@
 int main(int argc, char **argv) {
 
   int rank, i, j;
-  double a[SIZE][SIZE];
+  double a[SIZE][SIZE] = {{0}};
 
   MPI_Datatype columntype;
 
@@ -35,7 +35,7 @@ int main(int argc, char **argv) {
     }
 
 
-
+  MPI_Type_free(&columntype);
   MPI_Finalize();
   return 0;
 }