How To Install lam-runtime on Ubuntu 18.04

In this tutorial we learn how to install lam-runtime on Ubuntu 18.04. lam-runtime is LAM runtime environment for executing parallel programs

Introduction

In this tutorial we learn how to install lam-runtime on Ubuntu 18.04.

What is lam-runtime

lam-runtime is:

LAM (Local Area Multicomputer) is an open source implementation of the Message Passing Interface (MPI) standard.

Some enhancements in LAM 6.3 are: o Added the MPI-2 C++ bindings package (chapter 10 from the MPI-2 standard) from the Laboratory for Scientific Computing at the University of Notre Dame. o Added ROMIO MPI I/O package (chapter 9 from the MPI-2 standard) from the Argonne National Laboratory. o Pseudo-tty support for remote IO (e.g., line buffered output). o Ability to pass environment variables through mpirun. o Ability to mpirun shell scripts/debuggers/etc. (that eventually run LAM/MPI programs). o Ability to execute non-MPI programs across the multicomputer. o Added configurable ability to zero-fill internal LAM buffers before they are used (for development tools such as Purify). o Greatly expanded error messages; provided for customizable local help files. o Expanded and updated documentation. o Various bug fixes and minor enhancements.

There are three methods to install lam-runtime 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 lam-runtime Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install lam-runtime

Install lam-runtime Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lam-runtime

Install lam-runtime 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 lam-runtime using aptitude by running the following command:

sudo aptitude -y install lam-runtime

How To Uninstall lam-runtime on Ubuntu 18.04

To uninstall only the lam-runtime package we can use the following command:

sudo apt-get remove lam-runtime

Uninstall lam-runtime And Its Dependencies

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

sudo apt-get -y autoremove lam-runtime

Remove lam-runtime Configurations and Data

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

sudo apt-get -y purge lam-runtime

Remove lam-runtime configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lam-runtime

References

Summary

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