I have recently worked through getting the code to run on a Macbook Air M3 with Sequoia 15.3.2. I first installed sundials and gsl using
brew install sundials
brew install gsl
The initial error was the c compiler not being recognised when running
python setup.py develop
This was then fixed by adding the gsl paths to the pyreact/Makefile (see attached) and exporting the paths to the clang compiler
export CXX=/usr/bin/clang++
export CC=/usr/bin/clang
To run the example filers in reactions/examples you also need to add the gsl paths to the compilation command:
g++ -I/opt/homebrew/Cellar/gsl/2.8/include -I/Users/bbose/Desktop/cosmo_codes/react/reactions/include -L/Users/bbose/Desktop/cosmo_codes/react/reactions/lib -L/opt/homebrew/Cellar/gsl/2.8/lib spt.cpp -lgsl -lcopter
or export them.
Makefile.txt
I have recently worked through getting the code to run on a Macbook Air M3 with Sequoia 15.3.2. I first installed sundials and gsl using
The initial error was the c compiler not being recognised when running
This was then fixed by adding the gsl paths to the pyreact/Makefile (see attached) and exporting the paths to the clang compiler
To run the example filers in reactions/examples you also need to add the gsl paths to the compilation command:
or export them.
Makefile.txt