I’m on a Mac that I just upgraded (or at least re-graded) to Catalina. I’m actually not 100% sure I had run Stan or RStan on this machine before the upgrade. I had some problems that seem like the same things others have had, which I dealt with by following the instructions on this forum in the thread ‘Dealing with Catalina II’.
I then fit some R models, seemingly without more problems although they ran slower than I expected. But then I made a few minor changes in the model, ran it, and got an error “Error: vector memory exhausted (limit reached?)”. I thought maybe my changes had broken it somehow, but I went back to an earlier, simpler version of the model that had run quickly previously, and it gave me the same error.
I’m pretty much blocked until I can fix this. Any help would be greatly appreciated.
Here’s my MakeVars:
CPPFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include
CXX14 = /usr/local/clang7/bin/clang++ -stdlib=libc++ -nostdinc++ -I/usr/local/clang7/include/c++/v1
SHLIB_CXX14LD = /usr/local/clang7/bin/clang++ -L/usr/local/clang7/lib/