1
1
openmpi/orte/bindings/python
Mark Santcroos 656bdcfc54 Expose opal_set_using_threads and improve error message on missing ompi_info.
Signed-off-by: Mark Santcroos <mark.santcroos@rutgers.edu>
2017-01-19 07:57:58 -05:00
..
examples Refactor the ORTE DVM code so that external codes can submit multiple jobs using only a single connection to the HNP. 2016-02-13 08:10:44 -08:00
src/orte-cffi Expose opal_set_using_threads and improve error message on missing ompi_info. 2017-01-19 07:57:58 -05:00
README Refactor the ORTE DVM code so that external codes can submit multiple jobs using only a single connection to the HNP. 2016-02-13 08:10:44 -08:00
setup.py Expose opal_set_using_threads and improve error message on missing ompi_info. 2017-01-19 07:57:58 -05:00

===========================================================================
CFFI based Python wrapper for ORTE
===========================================================================


Example
-------

This example starts up a persistent DVM and then spawns some tasks using
Python.

$ virtualenv ve
$ source ve/bin/activate
$ pip install orte-cffi
$ orte-dvm --report-uri dvm_uri
$ python examples/submit.py


Create a distfile
----------------------------------------

If you want to create a sdist file:

$ virtualenv ve
$ source ve/bin/activate
$ python setup.py sdist


Uploading sdist to pypi
-----------------------

Assuming you have admin privileges to the pypi package repository for this
package, a new version can be uploaded using twine:

$ virtualenv ve
$ source ve/bin/activate
$ pip install twine
$ twine upload dist/orte-cffi-`python setup.py --version`.tar.gz


Building (for development purposes only)
----------------------------------------

If you want to create a non-pip build:

$ virtualenv ve
$ source ve/bin/activate
$ pip install cffi
$ python src/orte-cffi/build.py