AFD-Illinois / iharm3d

Hybrid MPI/OpenMP 3D HARM with vectorization
Other
12 stars 9 forks source link

manually specify no MPI in hdf5_utils #4

Closed gnwong closed 6 years ago

gnwong commented 6 years ago

It would be nice to add a flag to hdf5_utils.h that strictly enforces no MPI (as opposed to checking for MPI_COMM_WORLD). Since the hdf5 (no p) install seems to be broken on bh28, I'm forced to compile with h5pcc which works until you try to actually run the program (at which point you end up in an infinite loop).

For now, I've manually dealt with the issue by making judicious use of #undef.

bprather commented 6 years ago

Opened PR with one option in dev repository. Let me know if it's similar to what you were thinking

gnwong commented 6 years ago

Discussion moved to dev repo.