How To Install starpu-examples on Ubuntu 18.04

In this tutorial we learn how to install starpu-examples on Ubuntu 18.04. starpu-examples is Task scheduler for heterogeneous multicore machines - exs

Introduction

In this tutorial we learn how to install starpu-examples on Ubuntu 18.04.

What is starpu-examples

starpu-examples is:

StarPU is a runtime system that offers support for heterogeneous multicore machines. While many efforts are devoted to design efficient computation kernels for those architectures (e.g. to implement BLAS kernels on GPUs or on Cell’s SPUs), StarPU not only takes care of offloading such kernels (and implementing data coherency across the machine), but it also makes sure the kernels are executed as efficiently as possible.

This package contains application examples.

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

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

sudo apt-get update

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

sudo apt-get -y install starpu-examples

Install starpu-examples Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install starpu-examples

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

sudo aptitude -y install starpu-examples

How To Uninstall starpu-examples on Ubuntu 18.04

To uninstall only the starpu-examples package we can use the following command:

sudo apt-get remove starpu-examples

Uninstall starpu-examples And Its Dependencies

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

sudo apt-get -y autoremove starpu-examples

Remove starpu-examples Configurations and Data

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

sudo apt-get -y purge starpu-examples

Remove starpu-examples configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge starpu-examples

References

Summary

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