ETK "Chandrasekhar" release: HDF5 "BUILD" option failing on MacOSX + openmpi.

Issue #143 closed
Bernard Kelly created an issue

We've recently tried compiling the latest ETK official release ("Chandrasekhar") on our Macbooks. To get a working HDF5 installation compatible with the build, we've selected "HDF5_DIR=BUILD". This fails, however. I'm attaching my user-specified Cactus config. options, as well as the Thornlist used, and the error messages.

My machine is running OSX 10.5.8 (Leopard), and the compiler is openmpi [i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)], installed via macports.

Keyword: HDF5
Keyword: openmpi

Comments (4)

  1. Erik Schnetter
    • removed comment

    The problem seems to be that you use an MPI compiler for building, not a stand-alone compiler. openmpicc always builds with MPI, and thus apparently can't build a serial HDF5 library. You would have to switch to using gcc-mp-4.3 etc. when configuring Cactus, and then specify the MPI flags directly to Cactus. I see that you also do the latter -- if Cactus understands your OpenMPI installation directory structure you should be fine.

  2. Log in to comment