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

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