I think the HDF5-installation that is part of the pre-compiled FEniCS Application for OS X (available here: http://www.fenicsproject.org/pub/software/fenics/fenics-1.5.0-p2-osx10.10.dmg) includes a faulty HDF5 library.
If I execute the attached minimal example using OS X 10.10.2 single thread by
everything works normally. But if I use it in parallel
"mpiexec -np 2 python H5Crash.py"
I get a ton of error messages, all similar to this one:
# 003: /Users/johannr/fenics-1.5.0/fenics-superbuild/build-fenics/CMakeExternals/src/HDF5/src/H5FDmpio.c line 1052 in H5FD_mpio_open(): MPI_File_open failed major: Internal error (too specific to document in detail) minor: Some MPI function failed