I'm using R multicore on a long list. I invoke mclapply
on the list, which makes use of 12 cores on my machine.
When my list has about 1000 elements long it runs fine. When my list is longer than ~2000 elements (I'm not sure at what length this behaviour kicks in) then all jobs submitted to core 5 fail.
(I found this out by submitting the list element ids to this website.)
I have tried this on several nodes but I always get the following warning:
Warning message:
In mclapply(h.list, train_and_predict, learn.bias = F, ntree = ntree, :
scheduled core 5 encountered error in user code, all values of the job will be affected
Q: Why would only one core fail?
Any help will be greatly appreciated.
PK