X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b1a3836ba561d0e228b1e0f5d1204a36ef4393d8..cfe9dc45f8527c5a3c7e66ae5a802b8a702197b6:/examples/smpi/reduce.tesh diff --git a/examples/smpi/reduce.tesh b/examples/smpi/reduce.tesh index 545e537d53..a304357237 100644 --- a/examples/smpi/reduce.tesh +++ b/examples/smpi/reduce.tesh @@ -1,17 +1,13 @@ # use the tested library, not the installed one # (since we want to pass it to the child, it has to be redefined before each command) -! setenv LD_LIBRARY_PATH=../../src/.libs +! setenv LD_LIBRARY_PATH=../../lib # Go for the first test p Test Reduce with 3 processes -$ ../../src/smpi/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 3 ./reduce -q +$ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 3 ./reduce -q > [rank 0] -> Tremblay > [rank 1] -> Jupiter > [rank 2] -> Fafard -> [0.000000] [simix_network/INFO] Output message sizes to toto.txt -> [0] has value 1 -> [1] has value 2 -> [2] has value 3 > ** Scalar Int Test Result: > [0] sum=6 ... validation ok. > [0] min=1 ... validation ok. @@ -22,22 +18,15 @@ $ ../../src/smpi/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir > ok. # second test -! setenv LD_LIBRARY_PATH=../../src/.libs +! setenv LD_LIBRARY_PATH=../../lib p Test Reduce with 6 processes -$ ../../src/smpi/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 6 ./reduce -q +$ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 6 ./reduce -q > [rank 0] -> Tremblay > [rank 1] -> Jupiter > [rank 2] -> Fafard > [rank 3] -> Ginette > [rank 4] -> Bourassa > [rank 5] -> Tremblay -> [0.000000] [simix_network/INFO] Output message sizes to toto.txt -> [0] has value 1 -> [1] has value 2 -> [2] has value 3 -> [3] has value 4 -> [4] has value 5 -> [5] has value 6 > ** Scalar Int Test Result: > [0] sum=21 ... validation ok. > [0] min=1 ... validation ok. @@ -52,9 +41,9 @@ $ ../../src/smpi/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir # third test -! setenv LD_LIBRARY_PATH=../../src/.libs +! setenv LD_LIBRARY_PATH=../../lib p Test Reduce with 12 processes -$ ../../src/smpi/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 12 ./reduce -q +$ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 12 ./reduce -q > [rank 0] -> Tremblay > [rank 1] -> Jupiter > [rank 2] -> Fafard @@ -67,19 +56,6 @@ $ ../../src/smpi/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir > [rank 9] -> Bourassa > [rank 10] -> Tremblay > [rank 11] -> Jupiter -> [0.000000] [simix_network/INFO] Output message sizes to toto.txt -> [0] has value 1 -> [1] has value 2 -> [2] has value 3 -> [3] has value 4 -> [4] has value 5 -> [5] has value 6 -> [6] has value 7 -> [7] has value 8 -> [8] has value 9 -> [9] has value 10 -> [10] has value 11 -> [11] has value 12 > ** Scalar Int Test Result: > [0] sum=78 ... validation ok. > [0] min=1 ... validation ok.