helske / bssm

Bayesian Inference of State Space Models
42 stars 14 forks source link

CRAN complains about multithreading #33

Open helske opened 10 months ago

helske commented 10 months ago

Getting a note on CRAN's Debian pretest:

Examples with CPU time > 2.5 times elapsed time
          user system elapsed ratio
exchange 1.196   0.04   0.159 7.774

Nothing in that example should use parallelisation as we are not doing MCMC. And we don't use data.table (https://github.com/Rdatatable/data.table/issues/5658). Setting Sys.setenv("OMP_THREAD_LIMIT" = 2) doesn't help either.