Changes between Version 96 and Version 97 of WrapperApp


Ignore:
Timestamp:
Mar 22, 2016, 1:56:27 AM (9 years ago)
Author:
Christian Beer
Comment:

added documentation to features from PR#1508

Legend:

Unmodified
Added
Removed
Modified
  • WrapperApp

    v96 v97  
    5959    </zip_output>
    6060    ]
     61    [
     62    <rename_output>
     63        <filename>foo</filename>
     64    </rename_output>
     65    ]
    6166</job_desc>
    6267}}}
     
    7277 * $NTHREADS is replaced with the number of CPUs the client is allocating for this job.
    7378 * $GPU_DEVICE_NUM is replaced with the device number of the GPU allocated to this job.
    74  * $PROJECT_DIR is replaced with the path of the project directory.
     79 * $PROJECT_DIR is replaced with the absolute path of the project directory.
     80 * $PWD is replaced with the absolute path of the current working directory.
     81 * boinc_resolve(foo) is replaced with the return value of boinc_resolve_filename(foo) which eliminates the need to use the <copy_file/> attribute for foo.
    7582 '''weight''':: the contribution of each task to the overall fraction done
    7683  is proportional to its weight (floating-point, default 1).
     
    124131    the wrapper will zip output files (specified by one or more regular expressions) into a zip file with the given name.
    125132
     133The wrapper can optionally rename output files:
     134 '''rename_output''':: for this to work, a result file with <open_name>foo.link</open_name> has to be specified in the result template.
     135    After all tasks are completed, a file "foo" created by the application will be moved to become the result file, without using additional disk space or copy time.
     136    Note: The link name to be specified in the result template is hardcoded right now but this may change in a future version.
     137
    126138Notes:
    127139 * One or more of the tasks may be [AppMultiThread multi-threaded] and/or [AppCoprocessor use GPUs].