Package Biskit :: Package PVM
[hide private]
[frames] | no frames]

Package PVM

source code

High-level parallelisation with PVM.

Python jobs can be distributed from a TrackingJobMaster to many JobSlaves running on different machines. The general mechanism is shown in ExampleMaster.py and ExampleSlave.py

The package depends on the pypvm_core c-library which has to be compiled in the package directory. With Python versions >= 2.3, platform specific compilations can be placed in subfolders. The name of this folder should be assembled from: 'py' + version + '_' + platform.machine() Where platform is a python module available since Python 2.3. See Biskit.tools.platformFolder!

The compilation of pypvm_core can be tricky on some architectures. In order to support installations that don't need parallelisation, only a warning is issued if pypvm_core is missing and the public classes are exported as Pseudo-classes. Pseudo classes are empty and raise an ImportError when you try to initialize them. See also Biskit.tools.tryImport.

Submodules [hide private]