q2r.x_openmpi: 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/openmpi/bin/q2r.x_openmpi - from package: quantum-espresso-openmpi

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