openmpi/tests/sanity.sh
Kamal Heib b84c798db6 Update to upstream release 4.1.5
Update package and add gating tests.
Resolves: rhbz#2159630

Signed-off-by: Kamal Heib <kheib@redhat.com>
2023-06-14 04:05:42 -04:00

24 lines
347 B
Bash
Executable File

#!/bin/bash
#
# This is a simple sanity test to satisfy the RHEL8.1 onboard gating
# requirement.
ret=$?
source /etc/profile.d/modules.sh
module load mpi/openmpi-x86_64
ompi_info
let ret=$ret+$?
mpirun --version
let ret=$ret+$?
mpirun --allow-run-as-root hostname
let ret=$ret+$?
mpirun --allow-run-as-root uptime
let ret=$ret+$?
exit $ret