mpif90.openmpi: 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/mpif90.openmpi - from package: libopenmpi-dev

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