mpbi-mpi command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mpbi-mpi: command not found
or when using sudo you get the following error message
sudo: mpbi-mpi: command not found
Solutions to mpbi-mpi: command not found
How To Fix mpbi-mpi: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mpbi-mpi is provided by mpb-mpi package.
mpb-mpi is:
The MIT Photonic-Bands package is a free program for computing the band structures (dispersion relations) and electromagnetic modes of periodic dielectric structures, on both serial and parallel computers. It was developed by Steven G. Johnson at MIT in the Joannopoulos Ab Initio Physics group, and designed to study photonic crystal structures.
This package contains a parallel version of MPB, using the mpich implementation of the MPI protocol. It allows for calculations on clusters of computers.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mpb-mpi
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mpb-mpi.
sudo apt -y install mpb-mpi
Or if you have aptitude installed you can use the following command.
sudo aptitude install mpb-mpi
Summary
In this tutorial we learn how to fix mpbi-mpi command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.