diff --git a/SubSystems/Online_Cobalt/validation/system/mpi/basic-mpi.test b/SubSystems/Online_Cobalt/validation/system/mpi/basic-mpi.test index 707622e916f06336ca5ad6fb0575a66bc24e0358..ce778177e94acba3268e466e7e49ed8ef4a89991 100755 --- a/SubSystems/Online_Cobalt/validation/system/mpi/basic-mpi.test +++ b/SubSystems/Online_Cobalt/validation/system/mpi/basic-mpi.test @@ -1,9 +1,6 @@ #!/bin/bash -ve -source ../../validation_utils.sh -check_running_on_cobalt2 - -/opt/openmpi/bin/mpicc mpi-hello-world.c -o mpi-hello-world -/opt/openmpi/bin/mpirun --tag-output -H localhost,localhost ./mpi-hello-world | sort | fgrep 'Hello world' | wc -l | grep '^2$' +mpicc `dirname $0`/mpi-hello-world.c -o /tmp/mpi-hello-world || exit 1 +mpirun --tag-output -H localhost,localhost /tmp/mpi-hello-world | sort | fgrep 'Hello world' | wc -l | grep '^2$' exit 0