q2trans.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

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

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