simple-group-mpi.sh 330 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/bash -x

if [ -z $srcdir ]; then
    echo srcdir variable not set.
    exit 1
fi
source $srcdir/tests/test-util.sh

# launch a group and wait for termination
export SSG_GROUP_LAUNCH_DURATION=10
11
launch_ssg_group_mpi 4 na+sm &
12 13 14 15 16
if [ $? -ne 0 ]; then
    wait
    exit 1
fi

17
wait $!
18 19 20 21 22
if [ $? -ne 0 ]; then
    exit 1
fi

exit 0