mpicc.mpich command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mpicc.mpich: command not found
or when using sudo you get the following error message
sudo: mpicc.mpich: command not found
Solutions to mpicc.mpich: command not found
How To Fix mpicc.mpich: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mpicc.mpich is provided by mpich package.
mpich is:
MPICH is a high-performance and widely portable implementation of the MPI-3.1 standard from the Argonne National Laboratory. It efficiently supports different computation and communication platforms including commodity clusters, SMPs, massively parallel systems, and high-speed networks. This release has all MPI 3.1 functions and features required by the standard with the exception of support for the “external32” portable I/O format and user-defined data representations for I/O.
This package includes the program binaries necessary to run MPICH programs.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mpich
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mpich.
sudo apt -y install mpich
Or if you have aptitude installed you can use the following command.
sudo aptitude install mpich
Summary
In this tutorial we learn how to fix mpicc.mpich command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.