Hi,
I’m trying to get OSA residuals from a large glmmTMB model and it’s taking a long time. I checked that the model has converged. I tried to speed it up using the parallel argument, but the documentation that I found is limited and I think I may be using it incorrectly. I requested 20 nodes from DTU’s cluster, but it only used 2380 MB maximum out of 122880.00 MB that I requested.
My script is basically just this
library(TMB)
library(glmmTMB)
library(parallel)
load("cormorants_topmodel.Rdata")
res_m0dd= TMB::oneStepPredict(m0dd$obj,
observation.name="yobs",data.term.indicator="keep",discrete=TRUE,range=c(0,100),method="oneStepGeneric",trace=FALSE,parallel=TRUE)
It runs for the whole allocated 24 hours and doesn’t give any errors. Do I need to do anything more to get the parallelization to work?
Thanks in advance.
Cheers,
Mollie