ompi_info command not found

In this troubleshooting guide we learn how to fix ompi_info command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ompi_info: command not found

or when using sudo you get the following error message

sudo: ompi_info: command not found

Solutions to ompi_info: command not found

How To Fix ompi_info: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ompi_info is provided by openmpi-bin package.

openmpi-bin is:

Open MPI is a project combining technologies and resources from several other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best MPI library available. A completely new MPI-3.1 compliant implementation, Open MPI offers advantages for system and software vendors, application developers and computer science researchers.

Features:

  • Full MPI-3.1 standards conformance
  • Thread safety and concurrency
  • Dynamic process spawning
  • High performance on all platforms
  • Reliable and fast job management
  • Network and process fault tolerance
  • Support network heterogeneity
  • Single library supports all networks
  • Run-time instrumentation
  • Many job schedulers supported
  • Internationalized error messages
  • Component-based design, documented APIs

This package contains the Open MPI utility programs.

To fix this problem, we can install more using the command below.

sudo apt-get -y install openmpi-bin

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install openmpi-bin.

sudo apt -y install openmpi-bin

Or if you have aptitude installed you can use the following command.

sudo aptitude install openmpi-bin

Summary

In this tutorial we learn how to fix ompi_info command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.