h5pcc.openmpi command not found

In this troubleshooting guide we learn how to fix h5pcc.openmpi command not found error message

Introduction

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

h5pcc.openmpi: command not found

or when using sudo you get the following error message

sudo: h5pcc.openmpi: command not found

Solutions to h5pcc.openmpi: command not found

How To Fix h5pcc.openmpi: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu h5pcc.openmpi is provided by libhdf5-openmpi-dev package.

libhdf5-openmpi-dev is:

Hierarchical Data Format 5 (HDF5) is a file format and library for storing scientific data. HDF5 was designed and implemented to address the deficiencies of HDF4.x. It has a more powerful and flexible data model, supports files larger than 2 GB, and supports parallel I/O.

This package contains development files for use with OpenMPI.

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

sudo apt-get -y install libhdf5-openmpi-dev

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

You can also use apt command to install libhdf5-openmpi-dev.

sudo apt -y install libhdf5-openmpi-dev

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

sudo aptitude install libhdf5-openmpi-dev

Summary

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