Upgrade to 0.7: Issue with Mmap

Hi,

I am trying getting my package 0.7 ready an ran into this issue:

The issue is that Julia arrays need to have a certain alignment, which mmaped arrays cannot provide.

The issue was also raised here: mmap with arbitrary offsets no more allowed · Issue #28424 · JuliaLang/julia · GitHub
but it got closed without giving an example how to fix the issue. Would be great if someone could help and give a hint how HDF5 can be fixed.

Thanks!

Tobi

Ok, I think the reinterpret workaround seems to work. But then the issue should not be fixed in user code (or HDF5) but in Mmap.mmap. That function should give us a reinterpreted Array.

1 Like