Changes between Version 8 and Version 9 of PythonAppDev


Ignore:
Timestamp:
Oct 9, 2007, 4:02:37 PM (17 years ago)
Author:
kadam
Comment:

added client run script and a few questions to be answered

Legend:

Unmodified
Added
Removed
Modified
  • PythonAppDev

    v8 v9  
    8282Its work units have two input files: a Python program, and a data file.
    8383Its application runs a Python interpreter on the program file.
     84The executable of the application is a shell script for linux/mac and a batch file for windows, which executes the python interpreter with the client code:
     85{{{
     86python app_client.py
     87}}}
     88* Question: what if python interpreter is not present on a windows box? Is the license of python allows distribution of the interpreter?
    8489
    8590PyBOINC uses the following daemons:
    86  * validator: uses the sample bitwise validator
     91 * validator: uses the sample bitwise validator (need to check what python produces with floating-point operations on the different platforms)
    8792 * assimilator: uses a variant of sample_assimilator.  Given a completed result, it looks up the batch record, then copies the output file to BATCH_DIR/new/
    8893
     
    9297
    9398pyboinc_call(slave_filename, input)
    94     create a uniquely-named file x in the download hierarchy
     99    create a uniquely-named file x in the download hierarchy, file name should contain batch ID
    95100    Pickler(x).dump(input)
    96101    create_work()