I tried pasting in the makefile, but this web site won’t let me because it interprets part of the makefile as URLs and those are restricted for new users.
Sorry about that. Not sure and I think we (the devs) need to debug this. The makefiles were changed for this release, so it had some unintended side-effects.
To fix, I think you should be able to do this:
Open a file called make/local (no file extension)
Inside that file, put
CC = g++
CXX = g++
Then clean and build again:
> make clean-all
> make build
Let me know if that works. I’ll open up an issue for it.
Now I’m having a different problem. When I make my stan program, it can’t find a shared object file:
/gpfs/fs0/data/itlab/helmod/apps/Core/gcc/5.3.0-fasrc01/bin/…/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/cc1plus: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory
I’m doing this in the cmdstan home directory as indicated in the manual.