abhijithch / RecSys.jl

Other
35 stars 11 forks source link

Generating Test Dataset Causes MSYNC Error #30

Open Skylion007 opened 8 years ago

Skylion007 commented 8 years ago

So I tried calling the generate_test_data function on Julia 0.4.6 and I received the following error:

ERROR: SystemError: msync: Invalid argument in sync! at mmap.jl:206 in save at /home/$USER/.julia/v0.4/RecSys/src/chunks/matrix.jl:106 in save at /home/$USER/.julia/v0.4/Blobs/src/blob.jl:342 etc..

I am really confused what could be causing this error. It seems to be a bad implementation in the save function of chunks/matrix.jl if I am not mistaken. I am running CentOS so MSYNC should be supported by the Linux kernel. Is there are change in mmap from 0.4 to 0.5 that could be causing the error?

ViralBShah commented 8 years ago

cc @tanmaykm

tanmaykm commented 8 years ago

Failure on Julia 0.4.6 is because https://github.com/JuliaLang/julia/pull/14885 was not back-ported. I have now marked it for back-port to the next 0.4 release.

It should work fine on Julia 0.5, but needs the latest Blobs.jl with a compatibility fix: https://github.com/tanmaykm/Blobs.jl/pull/11.