Legacy code returns This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. for rstan v2.18.2 and R 3.5.2
Description:
First of all, I'm sorry for asking a question regarding such an archaic version of the rstan and R. Unfortunately, I have to reproduce a few years old environment in a docker image and I struggle to set rstan to work properly. In the original system, the snippet I'll paste below works just fine, however, when moving the docker, having exactly the same gcc compiler and Makeconf I'm getting the error mentioned above.
I know it's hard to help with such an old code and without access to the system, however, maybe you have some guesses where I could look for differences and why the same code, in seemingly the same environments, works only in one of them.
Summary:
Legacy code returns
This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
forrstan v2.18.2
and R 3.5.2Description:
First of all, I'm sorry for asking a question regarding such an archaic version of the
rstan
andR
. Unfortunately, I have to reproduce a few years old environment in a docker image and I struggle to setrstan
to work properly. In the original system, the snippet I'll paste below works just fine, however, when moving the docker, having exactly the same gcc compiler and Makeconf I'm getting the error mentioned above.Reproducible Steps:
Makeconf used in both environments:
Both systems are running RedHat 7.9
I know it's hard to help with such an old code and without access to the system, however, maybe you have some guesses where I could look for differences and why the same code, in seemingly the same environments, works only in one of them.