1 # use the tested library, not the installed one
2 # (since we want to pass it to the child, it has to be redefined before each command)
3 ! setenv LD_LIBRARY_PATH=../../src/.libs
5 # Go for the first test
6 p Test Broadcast with less processes than hosts
7 $ ../../src/smpi/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 3 ./bcast -q
15 p Test Broadcast with as much processes than hosts
16 ! setenv LD_LIBRARY_PATH=../../src/.libs
17 $ ../../src/smpi/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 6 ./bcast -q
18 > [rank 0] -> Tremblay
22 > [rank 4] -> Bourassa
23 > [rank 5] -> Tremblay
27 p Test Broadcast with more processes than hosts
28 ! setenv LD_LIBRARY_PATH=../../src/.libs
29 $ ../../src/smpi/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 12 ./bcast -q
30 > [rank 0] -> Tremblay
34 > [rank 4] -> Bourassa
35 > [rank 5] -> Tremblay
39 > [rank 9] -> Bourassa
40 > [rank 10] -> Tremblay
41 > [rank 11] -> Jupiter