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

Flushes print command #50

Closed
xgarrido opened this issue May 10, 2023 · 1 comment
Closed

Flushes print command #50

xgarrido opened this issue May 10, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@xgarrido
Copy link
Collaborator

print("MPI: rank %d is initalized" %rank)

I think we should flush print message by adding flush=True in the print function (it is mainly relevant for so_mpi file) otherwise message will appear at the end of the mpi jobs

@xgarrido xgarrido added the enhancement New feature or request label May 10, 2023
@xgarrido
Copy link
Collaborator Author

A better way than changing every print functions is to run python scripts with the -u option in order to unbuffered stdout/stderr. We just need to add the information within the README files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants