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

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