Skip to content
Snippets Groups Projects
Commit 4e0120ec authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

COB-49: test if mpi-selector has been set correctly

parent 08cbf85b
No related branches found
No related tags found
1 merge request!6Import cobalt2 into lofar4
...@@ -5566,6 +5566,7 @@ SubSystems/Online_Cobalt/validation/system/gpu/persistence-mode.test eol=lf ...@@ -5566,6 +5566,7 @@ SubSystems/Online_Cobalt/validation/system/gpu/persistence-mode.test eol=lf
SubSystems/Online_Cobalt/validation/system/hardware/sata-ahci.test eol=lf SubSystems/Online_Cobalt/validation/system/hardware/sata-ahci.test eol=lf
SubSystems/Online_Cobalt/validation/system/mpi/basic-mpi.test eol=lf SubSystems/Online_Cobalt/validation/system/mpi/basic-mpi.test eol=lf
SubSystems/Online_Cobalt/validation/system/mpi/custom-openmpi-config.test eol=lf SubSystems/Online_Cobalt/validation/system/mpi/custom-openmpi-config.test eol=lf
SubSystems/Online_Cobalt/validation/system/mpi/mpi-selector.test -text
SubSystems/Online_Cobalt/validation/system/network/10gb-ifaces.test -text SubSystems/Online_Cobalt/validation/system/network/10gb-ifaces.test -text
SubSystems/Online_Cobalt/validation/system/network/hosts.test eol=lf SubSystems/Online_Cobalt/validation/system/network/hosts.test eol=lf
SubSystems/Online_Cobalt/validation/system/network/ipoib.test -text SubSystems/Online_Cobalt/validation/system/network/ipoib.test -text
......
#!/bin/bash -ve #!/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/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$' /opt/openmpi/bin/mpirun --tag-output -H localhost,localhost ./mpi-hello-world | sort | fgrep 'Hello world' | wc -l | grep '^2$'
......
#!/bin/bash -ve
#example output of mpi-selector
#$ mpi-selector --query
#default:openmpi-4.0.0rc5
#level:system
mpi-selector --query | egrep "default|level:system" | wc -l | grep '^2$'
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment