From: mquinson Date: Thu, 25 Jun 2009 13:32:25 +0000 (+0000) Subject: The examples moved, and speak of LD_LIBRARY_PATH X-Git-Tag: SVN~1280 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/00ec45a4c3987767dc8848ea79ba6725f2ee0799 The examples moved, and speak of LD_LIBRARY_PATH git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6360 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/smpi/README b/src/smpi/README index 1d766f116c..c3cfb9b829 100644 --- a/src/smpi/README +++ b/src/smpi/README @@ -23,15 +23,15 @@ Quick Notes : getting started with the examples ..:: Try the examples ::.. Go to : -# cd simgrid/src/smpi/sample +# cd simgrid/examples/smpi To compile an example : -# ../smpicc bcast.c -o bcast +# ../../src/smpi/smpicc bcast.c -o bcast Use 'smpirun' to use it then: To run it : -# ../smpirun -np 3 ./bcast +# ../../src/smpi/smpirun -np 3 ./bcast node 0 has value 17 node 2 has value 3 node 1 has value 3 @@ -42,9 +42,11 @@ node 2 has value 17 To run it with a specific platform: -# ../smpirun -np 3 -platform platform.xml -hostfile hostfile ./bcast - +# ../../src/smpi/smpirun -np 3 -platform platform.xml -hostfile hostfile ./bcast +Note that by default, the examples use the installed version of +simgrid. So please install it before playing with the examples, or set +a LD_LIBRARY_PATH variable pointing to src/.libs