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

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