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

Print message on 0th rank (print0) #739

Closed
coquelin77 opened this issue Mar 15, 2021 · 2 comments
Closed

Print message on 0th rank (print0) #739

coquelin77 opened this issue Mar 15, 2021 · 2 comments

Comments

@coquelin77
Copy link
Member

Feature functionality
Print a message on the 0th rank. This can be used to reduce the amount of print statements in debuging or for verbose options for more complex function

example:

def print0(*args, **kwargs):
    if ht.rank == 0:
        print(*args, **kwargs)
@mtar
Copy link
Collaborator

mtar commented Feb 18, 2022

@coquelin77 Is this issue resolved by #816?

@ClaudiaComito
Copy link
Contributor

Yes I think this has been resolved by #816. Closing.

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

No branches or pull requests

3 participants