phcg.x_mpich: 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/phcg.x_mpich - from package: quantum-espresso-mpich

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