RecSys.jl icon indicating copy to clipboard operation
RecSys.jl copied to clipboard

Generating Test Dataset Causes MSYNC Error

Open Skylion007 opened this issue 8 years ago • 2 comments

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?

Skylion007 avatar Jul 08 '16 18:07 Skylion007

cc @tanmaykm

ViralBShah avatar Jul 08 '16 19:07 ViralBShah

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.

tanmaykm avatar Jul 09 '16 04:07 tanmaykm