Install issues of cmdstan on macOS

Hi!

I just installed cmdstan on my relatively fresh Mac. I was able to build cmdstan, but then failed to compile the Bernoulli example, since the stanc binary is compiled for x86 while my Mac is Apple Silicon. The issue was that Rosetta 2 was not on this machine such that the executable simply does not work. This isn’t a performance issue at all… but new users with newish Macs will be troubled and need to eventually find out the solution like this one:

Not really a huge issue, but possibly worthwhile to improve? So either we trigger the Rosetta install or also provide a stanc binary which works on arm64.

Best,
Sebastian

CmdStan 2.37 will have stanc built as a universal binary on macos, so your problem should be solved very soon!

1 Like