[Users] Error in compiling einsteintoolkit on Mac

Babiuc-Hamilton, Maria babiuc at marshall.edu
Mon Feb 7 11:19:39 CST 2011


Hello,

I have errors in compiling einsteintoolkit.th on a mac:
First, it did not configure HDF5
Compiling einsteintoolkit
CST error 1:
  -> Configuration script for thorn HDF5 returned exit code 1
     Error message: 'Error while building HDF5. Aborting.'

With external HDF5 directory, it complained
Use external hdf5 --error libsz.dylib needed

With external HDF5_DIR and LIBSZ_DIR the error is:

Preprocessing /Users/babiuc/Cactus/arrangements/Carpet/CarpetIOBasic/src/iobasic.cc
Compiling /Users/babiuc/Cactus/arrangements/Carpet/CarpetIOBasic/src/iobasic.cc
/Users/babiuc/Cactus/arrangements/Carpet/CarpetIOBasic/src/iobasic.cc: In function 'bool CarpetIOBasic::UseScientificNotation(const T&) [with T = int]':
/Users/babiuc/Cactus/arrangements/Carpet/Carpet/src/typecase:131:1:   instantiated from here
/Users/babiuc/Cactus/arrangements/Carpet/CarpetIOBasic/src/iobasic.cc:701:5: internal compiler error: in tsubst_copy_and_build, at cp/pt.c:13326
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [iobasic.cc.o] Error 1
make[2]: *** [make.checked] Error 2
make[1]: *** [/Users/babiuc/Cactus/configs/einsteintoolkit/lib/libthorn_CarpetIOBasic.a] Error 2
make: *** [einsteintoolkit] Error 2

please help,
Maria

PS: I am using the new gnu compilers:
CC  = gcc-mp-4.6
CXX = g++-mp-4.6
F77 = gfortran-mp-4.6
F90 = gfortran-mp-4.6
and the hdf5 is the one used by the visit2.2.0 binaries for mac x86_64: hdf5-1.8.4-x86_64 and required by CarpetHDF5.




More information about the Users mailing list