generate_pbs_nodefile: 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 Debian possible default full paths are:

/usr/bin/generate_pbs_nodefile - from package: slurm-wlm-torque

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