mpirun.lam: 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/mpirun.lam - from package: lam-runtime

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