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

Update tutorial 2 to v2 helics #11

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ryangilmour
Copy link

Tutorial 2 required modifications to the python federate federate1.py to work with HELICS v2 functions. These functions are updated and tested, based on the Tutorial 1 modifications.

Tutorials 3-5 not yet updated in this way.

Closes #10

@yucap
Copy link

yucap commented Jan 13, 2021

Thank you for the modification!

Let me give a small comment. Line 41 of the modified version should be the following.

def destroy_federate(fed, broker=None):

Without "=None", invoking the method (at line 91) will throw exception.

@ryangilmour
Copy link
Author

Thanks for flagging @yucap - I made that change in the commit above.

@yucap
Copy link

yucap commented Jan 15, 2021

Thank you for the update! I think it is ready to merge and close the issue #10 !

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.

Tutorial 2 not working with HELICS v2
2 participants