Skip to main content

<Enter a one-sentence description of this project here.>

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mpi_print-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

mpi_print-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file mpi_print-0.1.0.tar.gz.

File metadata

  • Download URL: mpi_print-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.5 Darwin/22.2.0

File hashes

Hashes for mpi_print-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4fe70b1b5ebb168b27637cc5796c03eadf34fbf733fea997303da9b4231a6e14
MD5 bdd5a5c68fbb5d5210a6e32713611843
BLAKE2b-256 972ab1317b0f2d2bb5605134a86e83ddf725ff2fef2219b888757b2d1df24b51

See more details on using hashes here.

File details

Details for the file mpi_print-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mpi_print-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.5 Darwin/22.2.0

File hashes

Hashes for mpi_print-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98a88b1660b0aab0a70c18f9c7ff1de573cd117c6d04386be63bd93f1085891f
MD5 9649dfc3366c0b99c0b4fd6d614563d3
BLAKE2b-256 e9097c2f15bac8a6c1e9351b584b080f43d24c1a0e12e37234efad35da59773f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page