How To Install tessa-mpi on Ubuntu 18.04

In this tutorial we learn how to install tessa-mpi on Ubuntu 18.04. tessa-mpi is simulation of 3D optical systems using FDTD on MPI clusters

Introduction

In this tutorial we learn how to install tessa-mpi on Ubuntu 18.04.

What is tessa-mpi

tessa-mpi is:

Tessa is a three-dimensional simulation software for optical systems at the wavelength scale, based on the finite differences time-domain method (FDTD). It focuses on simulating large, resonating structures, but can also be used to study propagating beams. It can simulate arbitrary dielectric and absorbing materials, and can be used on single workstations as well as clusters.

This package is built with MPI support.

URL: http://alioth.debian.org/projects/tessa/

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

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

sudo apt-get update

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

sudo apt-get -y install tessa-mpi

Install tessa-mpi Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tessa-mpi

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

sudo aptitude -y install tessa-mpi

How To Uninstall tessa-mpi on Ubuntu 18.04

To uninstall only the tessa-mpi package we can use the following command:

sudo apt-get remove tessa-mpi

Uninstall tessa-mpi And Its Dependencies

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

sudo apt-get -y autoremove tessa-mpi

Remove tessa-mpi Configurations and Data

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

sudo apt-get -y purge tessa-mpi

Remove tessa-mpi configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tessa-mpi

References

Summary

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