Otman
1
Hi,
I have this error when I start the installation of the code openmc in my mac:
Make Error at CMakeLists.txt:74 (message):
Could not find HDF5
– Configuring incomplete, errors occurred!
See also “/Users/otman/Nuclear/openmc/build/CMakeFiles/CMakeOutput.log”.
Salam Jay
You have here a script that helps you to install HDF5:
#!/bin/bash
export FC=gfortran-4.9
wget ftp://ftp.hdfgroup.org/HDF5/current/src/hdf5-*.tar.gz
tar -xzvf hdf5-*.tar.gz
cd hdf5-*; ./configure --prefix=/opt/hdf5 --enable-fortran --enable-fortran2003
make
sudo make install
It will be installed in /opt/hdf5. Before compiling OpenMC you need to export this directory to environment variables:
export HDF5_ROOT=/opt/hdf5
Tarek
Hi Otman,
Did it eventually work on your mac? I still have the same problem even after trying the script given by Tarek.
Amani