imagenet-multiGPU.torch icon indicating copy to clipboard operation
imagenet-multiGPU.torch copied to clipboard

mattorch.load with multi threading.

Open skrealworld opened this issue 8 years ago • 2 comments

Hi, I am using mattorch.load to read ".mat" data files saved using "-v7.3" in matlab. It is working fine with "-nDonkeys 0 or 1". However when I run it with "-nDonkeys 2 or more " it gives segmentation fault (core dump) and sometimes it throws bus error (core dump). Thank you in advance.

skrealworld avatar Feb 09 '16 14:02 skrealworld

the matlab C lib is probably not thread-safe or reentrant, you'll have to check that.

soumith avatar Feb 09 '16 14:02 soumith

How do I check this? I am using this library. https://github.com/clementfarabet/lua---mattorch/blob/master/mattorch.c Is there any way to verify, if this supports multi-threading. Thanks

skrealworld avatar Feb 09 '16 21:02 skrealworld