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
Segfault in basico when simulating BIOMD0000000516 after BIOMD0000000513. #10
Comments
thanks for letting us know, i will see what the issue would be. |
Sorry for the inconvenience, for now please use the workaround:
until we can release a new COPASI version to fix this issue. |
Thanks Frank, that works now. As an FYI, basico/coapsi loaded and simulated all the models in biomodels (ignoring failures as above) in around 160 seconds. RoadRunner v2.2.0 did it in around 135, though I was able to get about 3 times performance improvement with multithreading (RoadRunnerMap). Do you know if basico/copasi will work with the multithreading module in Python, or will I run into pickling issues? Thanks |
I have an example of using the multiprocessing module with basico here: https://github.com/copasi/basico/blob/master/examples/parallel_scan.py If you do encounter issues, please let me know. |
Cool. Thanks |
Sometimes the |
currently, if an error is found, it is logged in the error category, so assuming you use this in test functions, you could use any of the test fixtures for logging: https://testfixtures.readthedocs.io/en/latest/logging.html i could add an option to throw an exception instead of logging. |
Would there be a way to retroactively check the number of errors logged? The following fails to count all models that have failed to load or simulate.
|
Okay I see what you meant now. LogCapture works, thanks. |
a version of the |
Hello, I've been trying to load and simulate the curated section of biomodels using basico. It seems there is a segfault when trying to simulate model 516 after 513 has already been loaded/simulated. Here's the code:
output:
The text was updated successfully, but these errors were encountered: