Page 1 of 1

Problems with multi-core in R4.x

Posted: 16 Jul 2020, 13:18
by yschung
Here is feedback to those who use Mac OS to run R4.X via RStudio. Currently, RStudio does not support parallel::makeCluster(), meaning that you may not be able to run multi-cores using nCores in apollo_control. But nCores is fine if you run R4.X and apollo via terminal. The issue may be fixed in the next version of RStudio.

Here is the link to the discussion of parallel::makeCluster() problems in RStudio with R4.X. [https://github.com/rstudio/rstudio/issues/6692]

Cheers,
Yishih

Re: Problems with multi-core in R4.x

Posted: 20 Jul 2020, 14:36
by stephanehess
Hi Yishih

Thanks for bringing this issue to our attention. This is indeed a wider RStudio issue rather than an Apollo issue. We have implemented a fix in v0.1.1 that creates the cores sequentially on MacOS systems. It adds a small additional setup time in creating the cores but has no impact on run times after that.

Stephane