NPmpich2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
NPmpich2: command not found
or when using sudo you get the following error message
sudo: NPmpich2: command not found
Solutions to NPmpich2: command not found
How To Fix NPmpich2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu NPmpich2 is provided by netpipe-mpich2 package.
netpipe-mpich2 is:
NetPIPE is a protocol independent performance tool that encapsulates the best of ttcp and netperf and visually represents the network performance under a variety of conditions. By taking the end-to-end application view of a network, NetPIPE clearly shows the overhead associated with different protocol layers. NetPIPE answers such questions as: how soon will a given data block of size k arrive at its destination? Which network and protocol will transmit size k blocks the fastest? What is a given network’s effective maximum throughput and saturation level? Does there exist a block size k for which the throughput is maximized? How much communication overhead is due to the network communication protocol layer(s)? How quickly will a small (< 1 kbyte) control message arrive, and which network and protocol are best for this purpose?
This package measures network performance using the MPI protocol, a Message Passing Interface frequently used in parallel processing, and which uses in turn TCP as its underlying transport. The implementation of the MPI standard used by this package is that provided by the mpich package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install netpipe-mpich2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install netpipe-mpich2.
sudo apt -y install netpipe-mpich2
Or if you have aptitude installed you can use the following command.
sudo aptitude install netpipe-mpich2
Summary
In this tutorial we learn how to fix NPmpich2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.