X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/865f97c868ce92518b1cf4f23e23bd1b16b7917c..6de9090dd8692387ae343c587b26915f9922d7bd:/examples/smpi/compute2.c diff --git a/examples/smpi/compute2.c b/examples/smpi/compute2.c index aa6c53ae2b..8f82144bc0 100644 --- a/examples/smpi/compute2.c +++ b/examples/smpi/compute2.c @@ -1,4 +1,11 @@ +/* Copyright (c) 2009, 2010. 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 +#include int main(int argc, char *argv[]) { @@ -6,7 +13,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;