X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d65d1121602ae06e7c9854a07099aaaa60f40bbd..92f0a1a1b3fd1e0ae916d6f561d2268123fe29b6:/examples/smpi/sendrecv.c diff --git a/examples/smpi/sendrecv.c b/examples/smpi/sendrecv.c index 3f3aeeef27..6d5ba17516 100644 --- a/examples/smpi/sendrecv.c +++ b/examples/smpi/sendrecv.c @@ -1,3 +1,9 @@ +/* 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 "mpi.h" #include @@ -28,8 +34,8 @@ static int test(int myid, int numprocs) { MPI_Sendrecv(buffer, 10, MPI_INT, left, TAG_SND, buffer2, 10, MPI_INT, right, TAG_RCV, MPI_COMM_WORLD, &status); for (i=0;i