How To Install netpipe-mpich2 on Ubuntu 18.04

In this tutorial we learn how to install netpipe-mpich2 on Ubuntu 18.04. netpipe-mpich2 is Network performance tool using MPICH2 MPI

Introduction

In this tutorial we learn how to install netpipe-mpich2 on Ubuntu 18.04.

What is netpipe-mpich2

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.

There are three methods to install netpipe-mpich2 on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install netpipe-mpich2 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install netpipe-mpich2 using apt-get by running the following command:

sudo apt-get -y install netpipe-mpich2

Install netpipe-mpich2 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install netpipe-mpich2 using apt by running the following command:

sudo apt -y install netpipe-mpich2

Install netpipe-mpich2 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install netpipe-mpich2 using aptitude by running the following command:

sudo aptitude -y install netpipe-mpich2

How To Uninstall netpipe-mpich2 on Ubuntu 18.04

To uninstall only the netpipe-mpich2 package we can use the following command:

sudo apt-get remove netpipe-mpich2

Uninstall netpipe-mpich2 And Its Dependencies

To uninstall netpipe-mpich2 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove netpipe-mpich2

Remove netpipe-mpich2 Configurations and Data

To remove netpipe-mpich2 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge netpipe-mpich2

Remove netpipe-mpich2 configuration, data, and all of its dependencies

We can use the following command to remove netpipe-mpich2 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge netpipe-mpich2

References

Summary

In this tutorial we learn how to install netpipe-mpich2 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.