Skip to content
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

Stop statements #632

Merged

Conversation

poojanagrawal
Copy link
Contributor

When calling Fortran from Python, if Fortran code stops for some reason, the Python part doesn't stop by itself. Instead, it waits patiently for Fortran to return something (until the user's patience runs out or the code's runtime). With this pull request, METISSE now sends an error message back to Python when a Fatal Error occurs in zcnsts.f. For later stages of the code, METISSE continues to run with some dummy values but returns an error to set evolve_type to 101: METISSE error.

@katiebreivik
Copy link
Collaborator

woohoo!

@katiebreivik katiebreivik merged commit 2ea2def into COSMIC-PopSynth:METISSE-integrate Jun 6, 2024
3 of 4 checks passed
@poojanagrawal poojanagrawal deleted the stop_statements branch June 13, 2024 22:26
katiebreivik pushed a commit to katiebreivik/COSMIC that referenced this pull request Aug 7, 2024
* METISSE now returns error instead of stopping the code

* added back meson.build and .gitignore

* updated metisse

* removed print statement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants