Changes between Version 38 and Version 39 of WrapperApp
- Timestamp:
- Feb 19, 2011, 11:27:52 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WrapperApp
v38 v39 35 35 [ <checkpoint_filename>filename</checkpoint_filename> ] 36 36 [ <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> ] 40 39 [ <fraction_done_filename>filename</fraction_done_filename> ] 41 40 </task> … … 43 42 </job_desc> 44 43 }}} 45 44 46 45 The job file describes a sequence of tasks. 47 46 The descriptor for each task includes: … … 64 63 periodically write its fraction done (0 to 1). 65 64 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 66 68 67 69 The job file can specify multiple tasks. … … 77 79 * Worker programs must exit with zero status; nonzero values are interpreted as errors by the wrapper. 78 80 * 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) 79 82 80 83 == Physical file management ==