Closed jkbest2 closed 4 years ago
Essentially same problem as reported here:
https://github.com/glmmTMB/glmmTMB/issues/369 https://github.com/glmmTMB/glmmTMB/issues/232
In short, the openmp flag should only be set on request.
Thank you! I hadn't seen those glmmTMB
issues.
Description:
This may be a compiler compatibility issue, or just me naively setting up my environment. I do not see these problems using
clang++
org++
on my laptop (Ubuntu, using OpenBLAS).I'm trying to fit models on our cluster. I compiled R using the instructions from Intel. When installing packages I made sure that the same compilers were available and environmental variables were set.
Reproducible Steps:
Compile R according to instructions linked above. Install TMB.
Of the four included examples,
"ar1xar1"
,"simple"
, and"randomregression"
abort due to out-of-bounds errors. The"linreg_parallel"
model seems to run successfully.Current Output:
Is it possible that some of the compilation flags are causing problems?
...Intermediate echoes removed...
In a larger model I'm working on,
MakeADFun
fails with a segfault, stating that the memory is not mapped.Expected Output:
All examples should run.
TMB Version:
I have tried this with both the latest CRAN version and with
master
(includinginstall-metis-full
).