Error in compiling brms model on cluster

Dear All,

I am getting errors in compiling the simplest brms (brms_2.9.0) model on a linux cluster:
R version 3.5.3 (2019-03-11)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

this is the error I get:
fit1 <- brm(count ~ zAge + zBase * Trt + (1|patient),

  •         data = epilepsy, family = poisson())
    

Compiling the C++ model

Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! In file included from /R/R-3.5.3/library/BH/include/boost/random/detail/integer_log2.hpp:19:0,
from R/R-3.5.3/library/BH/include/boost/random/detail/int_float_pair.hpp:26,
from /R/R-3.5.3/library/BH/include/boost/random/exponential_distribution.hpp:27,
/R/R-3.5.3/library/BH/include/boost/random/gamma_distribution.hpp:25,
from /home/giuseppe.formetta/R/R-3.5.3/library/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_rng.hpp:5,
from /R/R-3.5.3/library/StanHeaders/include/stan/math/prim/mat.hpp:292,
from /R/R-3.5.3/library/StanHeaders/include/stan/math/rev/mat.hpp:12,
from /home/giuseppe.formetta/R/R-3.5.3/library/StanHeaders/include/stan/math.hpp:4,

Finally my Makevars file looks like:

CXX14=g++ ‘-std=c++11’
CXX14FLAGS = -O3 -mtune=native -fPIC -march=native -fno-fast-math

When I type Sys.getenv(“R_MAKEVARS_USER”) this is what I get:
[1] “”

Any help is very welcome

The error message seems truncated, could you try to get the full error output?

Also check the steps at https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started to verify your toolchain is well configured on the cluster.

P.S. Note that you can use backticks (`) and triple backticks for inline code and code blocks respectively to make your posts easier to read :-)

Thanks a lot
problem solved