Cmdstan compilation errors on M3 Macos 14.4

Hi all,
I just installed and run Cmdstan on a M3 Max Apple silicone, with MacOS 14.4.
The installation was done with conda following the recommended installation step:
conda create -n stan -c conda-forge cmdstan

When checking the installation with “make examples/bernoulli/bernoulli”, I get 45 warnings and 14 errors generated. Below I listed part of the message. The versions I use are
GNU Make 3.81
Apple clang version 15.0.0 (clang-1500.
Target: arm64-apple-darwin23.4.0

I have uploaded the output from the compiler.

Any help would be much appreciated. Best - Stephan
compiler_output.pdf (137.0 KB)

Googling the errors* indicates this might be fixed in the latest Stan versions. Can you try installing the latest cmdstan 2.34.1? Is there a particular reason why you are requesting 2.31.0?

thanks Ven. when installing it yesterday, it was the version the installer was defaulting to. I removed the conda environment, reinstalled it and then it was with the version you were suggesting. It now works fine. Thanks very much!

1 Like