srun: 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/srun - from package: slurm-client

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