pyMPI

pyMPI is a software project that integrates the Message Passing Interface (MPI) into the Python interpreter.

It allows one to write parallel programs using the Python language.

It has not been updated since 2013-04-17. [1]

Example of usage

This python program:

$ mpirun -np 3 pyMPI
> import mpi
> print "Hi, I'm process #%d" % mpi.rank

will print this output:

Hi, I'm process #0
Hi, I'm process #1
Hi, I'm process #2

The -np parameter given to mpirun tells mpi to use 3 processes, and each process in its turn prints its output on the screen.

gollark: It uses this mildly hellish JSON syntax (`!["Protected or Pinned", "ignored", "or", [["content.protected", "=", true], ["pinned", "=", true]]]`) but I figure you could make them SQL or Lua or something/
gollark: https://docs.standardnotes.org/usage/tags
gollark: Notably, you can have tags with some amount of logic in them for filtering based on various predicates.
gollark: Now, while very ææææ in some ways (they say stuff about keeping notes around for 100 years, but run on a subscription model, and do their stuff as a clientside webapp?!), some of the features there ARE very cool.
gollark: Another one of the inspirations which fed into the utterly nonexistent idea of minoteaur I have in my head is Standard Notes.

References

  1. "MPI Python". SourceForge. Retrieved 2018-12-16.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.