dune-mpi-config: 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/dune-mpi-config - from package: libdune-common-dev

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