-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple runs using the boutpp module #2855
Comments
Here is an error I get with a new model:
As a workaround, this seems to work for me:
The Concerning calling solve() again:
This fails with:
I guess that should be fixable in bout++, to allow calling solve again. Is the workaround for now sufficient? |
|
It works like this yes. The setup is not long, most of the time is spend running. |
If create a PhysicsModel using boutpp, the module does not allow you to run mutiple objects of the class.
The first run is working. If you create a second object with the same attributes, the code is crashing with the only error being
Fatal Python error: Aborted
Thread 0x00007f3278aba700 (most recent call first):
File "/home/IPP-HGW/toto/anaconda3/envs/boutpp/lib/python3.10/site-packages/zmq/utils/garbage.py", line 47 in run
File "/home/IPP-HGW/toto/anaconda3/envs/boutpp/lib/python3.10/threading.py", line 1016 in _bootstrap_inner
File "/home/IPP-HGW/toto/anaconda3/envs/boutpp/lib/python3.10/threading.py", line 973 in _bootstrap
Main thread:
Current thread 0x00007f34ee6af4c0 (most recent call first):
File "/tmp/ipykernel_1206591/1743057888.py", line 1 in
Kernel wird neu gestartet...
Resolving the same object twice does not work either. @dschwoerer
The text was updated successfully, but these errors were encountered: