Open candelas762 opened 1 year ago
Thank you for reporting this. I hadn't been aware of the parallelization not working. I will take a look when I have a chance, though I can't guarantee it will be soon.
I had the same issue. Looking at the documentation for pblapply
this appears to be an issue for Windows machines - setting cl={some integer value}
creates a forked cluster for Unix-style machines and reverts to sequential calculation on Windows. To work on both types of systems, cl needs to be explicitly initialized, i.e.:
cl = makeCluster(nCores)
registerDoParallel(cl)
clusterExport(cl, c("gflasso", "cvFUN", "R","rmse))
------ some code ------
allCV <- pbapply::pblapply(...., cl=cl)
stopCluster(cl)
Hi. This package seems to have been inactive for some time but I would like to point that the parallelization seems to be not working: