StochSS / SpatialPy

Simulation of spatial deterministic/stochastic reaction-diffusion-advection problems embedded in Lagrangian reference frame particle based fluid dynamics domain
https://StochSS.github.io/SpatialPy
GNU General Public License v3.0
16 stars 4 forks source link

Bug: Compilation of README model fails #320

Closed WarddeRidder closed 2 years ago

WarddeRidder commented 2 years ago

Compilation of the sample model in the README fails. SpatialPy was installed on Python 3.10.6 using python3 -m pip install spatialpy --user --upgrade. Upon attempting to run the README create_birth_death model, compilation failed (return code 1) due to not recognising the make command. After renaming GNU Make 3.82.90 (mingw32-make.exe) to make.exe, and attempting to rerun the model, it failed again, with return code 2. Notably, the error message changed when I tried to run the model a second time after renaming to make.exe. The full error messages are in the attachments, as well as the code.

Error message spatialpy_error_message.txt

Code spatialpy_example_model.txt

briandrawert commented 2 years ago

Thanks for letting us know about this error. We are not able to reproduce it, however this seems to be a problem with MinGW. It looks like a solution can be found here: https://stackoverflow.com/questions/14191566/c-mutex-in-namespace-std-does-not-name-a-type

We endeavor to be as compatible as possible. Can you please update us on your progress, and solution to this issue?

WarddeRidder commented 2 years ago

Unfortunately, it doesn't seem to work. I installed the x86_64-posix-seh-rev0, version 8.1.0 of MinGW-W64 as suggested in the stackoverflow answers, it still gives the same type of error (see below). I made sure to remove the previously installed MinGW from the path, so that the new make and g++ was used.

spatialpy_error_message_2.txt