MWA beam doesn't compile on Mac
For some reason, the HDF5 lib on a recent Mac (Catalina) has a different H5Ovisit interface, resulting in the following error (as reported by T. van der Hulst) :
/Users/vdhulst/Software/wsclean-2.10.1/mwa/beam2016implementation.cpp: In member function 'void Beam2016Implementation::Read()':
/Users/vdhulst/Software/wsclean-2.10.1/mwa/beam2016implementation.cpp:664:91: error: too few arguments to function 'herr_t H5Ovisit3(hid_t, H5_index_t, H5_iter_order_t, H5O_iterate2_t, void*, unsigned int)'
herr_t status = H5Ovisit (file_id, H5_INDEX_NAME, H5_ITER_NATIVE, list_obj_iterate, this);
^
In file included from /usr/local/include/H5Apublic.h:22,
from /usr/local/include/hdf5.h:23,
from /usr/local/include/H5Include.h:15,
from /usr/local/include/H5Cpp.h:18,
from /Users/vdhulst/Software/wsclean-2.10.1/mwa/beam2016implementation.cpp:21:
/usr/local/include/H5Opublic.h:211:15: note: declared here
H5_DLL herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order,
^~~~~~~~~
[ 69%] Building CXX object CMakeFiles/wsclean-object.dir/primarybeam/voltagepattern.cpp.o
make[2]: *** [CMakeFiles/wsclean-object.dir/mwa/beam2016implementation.cpp.o] Error 1