mpy.mpich2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mpy.mpich2: command not found
or when using sudo you get the following error message
sudo: mpy.mpich2: command not found
Solutions to mpy.mpich2: command not found
How To Fix mpy.mpich2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mpy.mpich2 is provided by yorick-mpy-mpich2 package.
yorick-mpy-mpich2 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 MPICH2.
To fix this problem, we can install more using the command below.
sudo apt-get -y install yorick-mpy-mpich2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install yorick-mpy-mpich2.
sudo apt -y install yorick-mpy-mpich2
Or if you have aptitude installed you can use the following command.
sudo aptitude install yorick-mpy-mpich2
Summary
In this tutorial we learn how to fix mpy.mpich2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.