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

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