cicero-release icon indicating copy to clipboard operation
cicero-release copied to clipboard

run_cicero multicore

Open skilpinen opened this issue 4 years ago • 1 comments

I am exploring is there any way to run cicero faster, and noticed that within the code there is call to parallel::mclapply() but with hardcoded to mc.cores=1. Without reading through the entire logic there, just thought as that is here any possibility to run it faster?

skilpinen avatar Dec 17 '20 09:12 skilpinen

Hello, As I recall, I ran into inconsistent crashes when running with multicore which is why I ultimately hard coded it to 1. This was several years ago, so it's possible that glasso has been modified to be thread safe. I don't have time currently to try again on this, but if you'd like to give it a try and submit a pull request I'd be happy to review it.

hpliner avatar Dec 28 '20 14:12 hpliner