<Enter a one-sentence description of this project here.>
Print statements from MPI programs can be confusing, as you do not now by which rank the output was produced. The import of
from mpi_print import print
overloads the the builtin print function to first print the rank and a timestamp. E.g.
from mpi_print import print, builtin_print builtin_print('hello world.') # prints: # hello world. print('hello world.') # prints: # MPI rank: 1 [timestamp: 2023-02-02 20:48:26.544420] # hello world.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
mpi_print-0.1.0.tar.gz (2.4 kB view hashes)
Hashes for mpi_print-0.1.0-py3-none-any.whl