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
peersimgrid release 1.0
[simgrid.git]
/
examples
/
smpi
/
MM
/
2.5D_MM.c
diff --git
a/examples/smpi/MM/2.5D_MM.c
b/examples/smpi/MM/2.5D_MM.c
index
bf3c9bb
..
041342e
100644
(file)
--- a/
examples/smpi/MM/2.5D_MM.c
+++ b/
examples/smpi/MM/2.5D_MM.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. */
+
/*!
* 2.5D Block Matrix Multiplication example
*
/*!
* 2.5D Block Matrix Multiplication example
*
@@
-240,8
+246,8
@@
double two_dot_five(
end_time = MPI_Wtime();
time = end_time - start_time;
double reduce_time = end_time_reduce - start_time_reduce;
end_time = MPI_Wtime();
time = end_time - start_time;
double reduce_time = end_time_reduce - start_time_reduce;
- printf("communication time: %
le reduce time: %l
e seconds, "
- "total time: %
l
e seconds\n",communication_time,reduce_time,time);
+ printf("communication time: %
e reduce time: %
e seconds, "
+ "total time: %e seconds\n",communication_time,reduce_time,time);
MPI_Barrier(my_world);
#if CHECK_25D
MPI_Barrier(my_world);
#if CHECK_25D