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

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/wannier_ham.x - from package: quantum-espresso

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