Upgrade to 0.7: Issue with Mmap


#1

Hi,

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

https://travis-ci.org/MagneticParticleImaging/MPIFiles.jl/jobs/412869043#L2204

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

The issue was also raised here: https://github.com/JuliaLang/julia/issues/28424
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


#2

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.