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
fix: forgot to properly update migration.tesh
[simgrid.git]
/
examples
/
smpi
/
compute2.c
diff --git
a/examples/smpi/compute2.c
b/examples/smpi/compute2.c
index
aa6c53a
..
ea52440
100644
(file)
--- a/
examples/smpi/compute2.c
+++ b/
examples/smpi/compute2.c
@@
-1,4
+1,5
@@
#include <stdio.h>
+#include <mpi.h>
int main(int argc, char *argv[])
{
@@
-6,7
+7,7
@@
int main(int argc, char *argv[])
double d;
MPI_Init(&argc, &argv);
d = 2.0;
-
SMPI_DO_ONCE
{
+
/* SMPI_DO_ONCE */
{
for (i = 0; i < atoi(argv[1]); i++) {
if (d < 10000) {
d = d * d;