Help on HDF5 install

Dears,

I am (trying) to install HDF5 before installing OpenMC, but…

per http://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/release_docs/INSTALL on item 2 it says:

$ ./configure --prefix=/usr/local/hdf5

wich is pretty much the structure to be adapted with the HDF5 compiling instructions at
https://mit-crpg.github.io/openmc/usersguide/install.html#prerequisites

But ./configure does not exist in the HDF5 package…

Has anyone experienced this or has a workaround or a detailed step-by-step fo HDF5?

Thanks!

Hi Matheus,

Are you sure you downloaded the source package? I do see the configure script when I untar the release tarball.

Best,
Paul

Hi all,

it worked, source package is at https://hdfgroup.org/HDF5/release/obtainsrc.html

next question: during cmake then programm asked for https://github.com/mit-crpg/fox.git

Due to our IT proxy/firewall/whatsoever policies, I couldn’t download them. I found another connection, but how can I use the downloaded files (under fox-master.zip) and proceed with the openmc installation offline (without connected to the internet)?

Thanks,

Matheus

I would recommend doing a git clone of the fox repository, create a tarball of the git repository, bring the tarball to your machine behind the firewall, and extract it into openmc/src/xml. When I’ve needed to do this, I usually get git repositories of OpenMC and fox together on a computer with internet, tar them up together and then extract. So it would look something like:

On computer with internet:
git clone git://github.com/mit-crpg/openmc.git
cd openmc
git submodule init
git submodule update
cd …
tar cJvf openmc.tar.xz openmc/

On computer without internet:
tar xJvf openmc.tar.xz

Best,
Paul