1
1
openmpi/orte/bindings/python
2016-05-23 21:09:44 -07: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 Fix the --tune problem by searching the argv for MCA params in advance of opal_init_util. Only search the first app_context as we historically have done - we can debate whether or not to search all app_contexts 2016-05-23 21:09:44 -07: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 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

===========================================================================
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