A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrite of the fat trees implementation
[simgrid.git]
/
teshsuite
/
smpi
/
hvector_test.c
diff --git
a/teshsuite/smpi/hvector_test.c
b/teshsuite/smpi/hvector_test.c
index
86d1a40
..
f37f234
100644
(file)
--- a/
teshsuite/smpi/hvector_test.c
+++ b/
teshsuite/smpi/hvector_test.c
@@
-1,3
+1,9
@@
+/* Copyright (c) 2012-2014. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
#include <stdio.h>
#include "mpi.h"
#define SIZE 4
#include <stdio.h>
#include "mpi.h"
#define SIZE 4
@@
-5,7
+11,7
@@
int main(int argc, char **argv) {
int rank, i, j;
int main(int argc, char **argv) {
int rank, i, j;
- double a[SIZE][SIZE];
+ double a[SIZE][SIZE]
= {{0}}
;
MPI_Datatype columntype;
MPI_Datatype columntype;
@@
-35,7
+41,7
@@
int main(int argc, char **argv) {
}
}
-
+ MPI_Type_free(&columntype);
MPI_Finalize();
return 0;
}
MPI_Finalize();
return 0;
}