Cannot run configure, PLEASE help me!!


#1

Hello everyone,

I want to run MPB on my Ubuntu but to do that i need to download HDF. I follow the steps outlined in their guide, [https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/unpacked/release_docs/INSTALL](http://instructions link) but when i run the ./configure command( not specifying any flags) the error i get is :

~/Downloads/hdf5-1.10.1-linux-centos7-x86_64-gcc485-shared$ ./configure --prefix=usr/local/hdf5
bash: ./configure: No such file or directory

I dont get why i get this error , as in the tutorial i this should be happening without any problem. Please help me as I need MPB for a shool project as soon as possible.

Thank you very much


#2

Bash manual suggest that you’re missing the file you want to execute.

Lucky you: I am in the process of installing https://github.com/live-clones/hdf5 on ubuntu 16.04 LTS this requires cmake 1.10 or above, download it from https://cmake.org/download/ then install it.
then from hdf5 source directory
mkdir build && cd build && cmake …/ && make -j number_of_cores_on_your_computer
This is because the github live version is using cmake as opposed to configure.

Not sure what MPB is, and how it relates to HDF5.


#3

Hello,

It looks like you downloaded the HDF5 binaries but were trying to build as source. The README file in this pre-compiled binary distribution gives helpful information about it.

If you’d like to use the HDF5 source, please obtain it from this page:

https://www.hdfgroup.org/downloads/hdf5/

then you should be able to follow the instruction that you were referring to.

I hope this helps,


#4

Quoting the MPB installation instructions for linux:

Do not compile something from source if an official binary package is
available.
For one thing, you’re just creating pain for yourself. Worse,
the binary package may already be installed, in which case installing a
different version from source will just cause trouble.”

These instructions may be oversimplified if you are using a very large
computer
which requires the MPI version of the HDF5 libraries. Ubuntu offers serial
and parallel versions of the libraries – some applications may not work
with the parallel version of the library.

Also from the installation instructions:

“Installing MPB from source can be challenging for novice users. As a
simple workaround, the latest version of MPB preinstalled on Ubuntu can be
accessed on Amazon Web Services (AWS) Elastic Compute Cloud (EC2) as a
free Amazon
Machine Image (AMI) https://aws.amazon.com/marketplace/pp/B01KHWH0AS.”