glmmTMB, OpenMP and Ubuntu
Dear all, I am currently fitting a complex model with glmmTMB that involves random effects and covariance structures (spatiotemporal autocorrelation). I would like to try the experimental parallel optimization feature <https://cran.r-project.org/web/packages/glmmTMB/vignettes/parallel.html> to reduce computation time. To do this I've setup a virtual machine running Ubuntu 20.04 on 16+ cores. However, I found no information in how to setup OpenMP, R and glmmTMB. Is there a step by step guide that I can follow? The Vignette states the following: "If your OS supports OpenMP parallelization and R was installed using OpenMP, glmmTMB will automatically pick up the OpenMP flags from R's Makevars and compile the C++ model with OpenMP support." I was not able to find any information on how to install R using OpenMP. Best, Xaver