From: Arnaud Giersch Date: Tue, 17 Feb 2015 10:51:30 +0000 (+0100) Subject: Fix comments. X-Git-Tag: v3_12~760^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/de637a122ac32df4af29078ee79995914a0e0b01?ds=sidebyside Fix comments. Not sure that the example is really instructive, though. --- diff --git a/teshsuite/smpi/shared/shared.c b/teshsuite/smpi/shared/shared.c index 78759352b6..8636be2836 100644 --- a/teshsuite/smpi/shared/shared.c +++ b/teshsuite/smpi/shared/shared.c @@ -1,11 +1,10 @@ -/* Copyright (c) 2009-2014. The SimGrid Team. +/* Copyright (c) 2009-2015. 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. */ -/* This example should be instructive to learn about SMPI_SAMPLE_LOCAL and - SMPI_SAMPLE_GLOBAL macros for execution sampling */ +/* This example should be instructive to learn about SMPI_SHARED_CALL */ #include #include @@ -39,7 +38,7 @@ int main(int argc, char *argv[]) } MPI_Barrier(MPI_COMM_WORLD); - //everyobne reads from it. + //everyone reads from it. printf("[%d] The value in the shared buffer is: %" PRIu64"\n", rank, *buf);