batch_run stalls, no progress #2136
Unanswered
dylan-munson
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I ran the exact code you provided, and saw a progress bar
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Initially opened this as an issue but decided to move it to discussions and close the issue, for now.
Describe the bug
When attempting to use a batch_run, there is no progress and the process simply stalls. I have tried this with very short model runs as well (e.g. 10 steps, only 12 runs with 1 iteration each in the Sugarscape model), so it is not that the process simply takes a while (unless something about the batch_run makes it significantly slower, although I did not have this issue when I first installed mesa). It also does not seem to be an issue with the progress bar only, as suppressing the progress bar changes nothing. I can reproduce this issue both with a version of the Sugarscape with trade model from mesa-examples and the money model with space from the tutorial. I am running in python 3.10.14 on Ubuntu 22.04.4. This occurs whether I am running the script in an IDE (Spyder) or from the terminal directly.
EDIT: Also for reference, I am running the most recent Github implementation of Mesa.
Expected behavior
The batch_run should at least show some progress.
To Reproduce
The issue should be reproducible with the money model with space example, copied below for reference.
Additional context
See description for version details.
Beta Was this translation helpful? Give feedback.
All reactions