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

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