X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/98df1910047ee49bd36a800594ea6b90a732d9e6..2565e83d042a5f01c7f131c4af108028a5c4ce2b:/examples/smpi/NAS/ep.c diff --git a/examples/smpi/NAS/ep.c b/examples/smpi/NAS/ep.c index a7b8d50fae..75a35c339b 100644 --- a/examples/smpi/NAS/ep.c +++ b/examples/smpi/NAS/ep.c @@ -135,7 +135,7 @@ int main(int argc, char **argv) { k_offset = no_large_nodes*(np+1) + (node-no_large_nodes)*np -1; int stop = FALSE; - for(k = 1; k <= np; k++) { SMPI_SAMPLE_GLOBAL(0.25 * np, 0.03) { + SMPI_SAMPLE_GLOBAL(k = 1, k <= np, k++, 0.25 * np, 0.03, stop = FALSE; kk = k_offset + k ; t1 = s; @@ -181,7 +181,7 @@ int main(int argc, char **argv) { } } timer_stop(2); - } } + ) TRACE_smpi_set_category ("finalize");