Changes between Version 38 and Version 39 of WrapperApp


Ignore:
Timestamp:
Feb 19, 2011, 11:27:52 PM (14 years ago)
Author:
carlgt1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WrapperApp

    v38 v39  
    3535        [ <checkpoint_filename>filename</checkpoint_filename> ]
    3636        [ <fraction_done_filename>filename</fraction_done_filename> ]
    37         [ <exec_dir>directory to start the application (relative or use $PROJECT_DIR macro)</exec_dir> ]
    38         [ <setenv>environment variable in the form of LD_LIBRARY_PATH=$PROJECT_DIR:$LD_LIBRARY_PATH (i.e. VARNAME=VAR_VALUE)</setenv> ]
    39         [ <setenv>you can have more than one setenv entry as needed by your application</setenv> ]
     37        [ <exec_dir>dirname</exec_dir> ]
     38        [ <setenv>VARNAME=VAR_VALUE</setenv> ]
    4039        [ <fraction_done_filename>filename</fraction_done_filename> ]
    4140    </task>
     
    4342</job_desc>
    4443}}}
    45 
     44 
    4645The job file describes a sequence of tasks.
    4746The descriptor for each task includes:
     
    6463  periodically write its fraction done (0 to 1).
    6564  This is used by the wrapper to report overall fraction done.
     65""exec_dir"":: The directory to start the application (relative to slot, or use $PROJECT_DIR macro)
     66""setenv"":: Environmental variable needed for the applications run-time environment - you can have more than one <setenv> entry, use the VARNAME=VAR_VALUE form, e.g. LD_LIBRARY_PATH=$PROJECT_DIR:$LD_LIBRARY_PATH
     67
    6668
    6769The job file can specify multiple tasks.
     
    7779 * Worker programs must exit with zero status; nonzero values are interpreted as errors by the wrapper.
    7880 * If you run '''wrapper''' in standalone mode (while debugging), you must provide input files with the proper logical, not physical, names.
     81 * job.xml may be different for different platforms (i.e. app_versions) due to diretory requirements (exec_dir) and environment variables (setenv)
    7982
    8083== Physical file management ==