mpy.openmpi command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mpy.openmpi: command not found
or when using sudo you get the following error message
sudo: mpy.openmpi: command not found
Solutions to mpy.openmpi: command not found
How To Fix mpy.openmpi: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mpy.openmpi is provided by yorick-mpy-openmpi package.
yorick-mpy-openmpi is:
Yorick is an interpreted programming language for:
- scientific simulations or calculations
- postprocessing or steering large simulation codes
- interactive scientific graphics
- reading, writing, and translating large files of numbers
The MPY is a parallel version of Yorick based on the Message Passing Interface (MPI). This package contains a build of MPY linked against OpenMPI.
To fix this problem, we can install more using the command below.
sudo apt-get -y install yorick-mpy-openmpi
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install yorick-mpy-openmpi.
sudo apt -y install yorick-mpy-openmpi
Or if you have aptitude installed you can use the following command.
sudo aptitude install yorick-mpy-openmpi
Summary
In this tutorial we learn how to fix mpy.openmpi command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.