]> AND Public Git Repository - simgrid.git/blobdiff - teshsuite/smpi/shared/shared.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / teshsuite / smpi / shared / shared.c
index 78759352b6745975e4d7688181bb479063d5489c..8636be2836a0e017b25fe244b2eaa9d24523fb77 100644 (file)
@@ -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 <stdio.h>
 #include <mpi.h>
@@ -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);