Changes between Version 10 and Version 11 of PythonAppDev


Ignore:
Timestamp:
Jul 24, 2008, 4:15:10 PM (16 years ago)
Author:
kadam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PythonAppDev

    v10 v11  
    129129PyMW (Master Worker Computing in Python) PyMW is a Python module for parallel master-worker computing in a variety of environments, including BOINC. With the PyMW module, users can write a single program that scales from multi-core machines to global computing platforms.
    130130
     131== Download ==
     132
    131133PyMW can be downloaded from [http://pymw.sourceforge.net/ here].
     134
     135== Installation ==
    132136
    133137A BOINC project has to be prepared to accept applications written in Python. BOINC comes with an install script for PyMW. The setup script - pymw_setup.py - can be found in the bin directory of the BOINC project. An absolute path to the PyMW working directory has to be provided with the -p or --pymw switch to the setup script. The assimilator program for PyMW will copy the results to this directory. Example to run the setup script:
     
    146150 * Call update_versions
    147151
     152== Platforms ==
     153
     154By default PyMW assumes that the python interpreter is installed on the client computers. The Python interpreter is more likely to be installed on linux clients. On Windows PyMW assumes that Python is installed and the path environment variable contains the path to the interpreter. If python is installed on a windows box, but it's not in the path, than PyMW will look in the default installation directory, which is C:\Python25 with the current version of Python.
     155
     156OS X client is coming soon.
     157
     158If python is not installed on the client computer, PyMW jobs will fail. The [http://www.python.org/psf/license/ license of Python] makes it possible to deploy the interpreter as part of the client application, however the current version of the interpreter is about 35 MB, which is not very network friendly.
     159A later version of PyMW will come up with a solution that transfers the interpreter compressed over the network to reduce network load, but make PyMW widely available.
     160
     161== Usage ==
     162
    148163Once successfully executed, the project is ready to handle PyMW jobs. The setup script can be called multiple times. However, if the pymw client application is already registered with the project, the setup script will only alter the working directory of the pymw_assimilator in the config.xml file.
    149164