mpitests-osu_allgatherv: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/lib64/mpich/bin/mpitests-osu_allgatherv - from package: mpitests-mpich
/usr/lib64/mvapich2-psm/bin/mpitests-osu_allgatherv - from package: mpitests-mvapich2-psm
/usr/lib64/mvapich2/bin/mpitests-osu_allgatherv - from package: mpitests-mvapich2
/usr/lib64/mvapich-psm/bin/mpitests-osu_allgatherv - from package: mpitests-mvapich-psm
/usr/lib64/mvapich/bin/mpitests-osu_allgatherv - from package: mpitests-mvapich
/usr/lib64/openmpi/bin/mpitests-osu_allgatherv - from package: mpitests-openmpi

You may install the required package with command yum install {package}
Error in other languages:
mpitests-osu_allgatherv: bevel nie gevind nie
mpitests-osu_allgatherv: comandă negăsită
mpitests-osu_allgatherv: comando não encontrado
mpitests-osu_allgatherv: commande introuvable
mpitests-osu_allgatherv: command not found
mpitests-osu_allgatherv: käsku ei ole
mpitests-osu_allgatherv: không tìm thấy lệnh
mpitests-osu_allgatherv: komanda nerasta
mpitests-osu_allgatherv: Kommando nicht gefunden.
mpitests-osu_allgatherv: kommandot finns inte
mpitests-osu_allgatherv: komut yok
mpitests-osu_allgatherv: nie znaleziono polecenia
mpitests-osu_allgatherv: níor aimsíodh an t-ordú
mpitests-osu_allgatherv: no se encontró la orden
mpitests-osu_allgatherv: no s'ha trobat l'ordre
mpitests-osu_allgatherv: opdracht niet gevonden
mpitests-osu_allgatherv: parancs nem található
mpitests-osu_allgatherv: perintah tidak ditemukan
mpitests-osu_allgatherv: príkaz nenájdený
mpitests-osu_allgatherv: příkaz nenalezen
mpitests-osu_allgatherv: команда не найдена
mpitests-osu_allgatherv: командата не е открита
mpitests-osu_allgatherv: 命令找不到
mpitests-osu_allgatherv: コマンドが見つかりません