Changes between Version 86 and Version 87 of WrapperApp
- Timestamp:
- Jun 20, 2014, 3:01:34 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WrapperApp
v86 v87 83 83 periodically write its fraction done (0 to 1). 84 84 This is used by the wrapper to report overall fraction done. 85 '''exec_dir''':: The directory to start the application (relative to slot, or use $PROJECT_DIR macro)85 '''exec_dir''':: The directory to start the application in (relative to slot, or use the $PROJECT_DIR macro) 86 86 '''multi_process''':: Include this if the application creates multiple processes. '''Note: each parent process must wait for its children to exit.''' 87 '''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. You can also use the $NTHREADS macro if you have an environment variable that needs the number of threads or processes to launch.87 '''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. You can also use the $NTHREADS or $GPU_DEVICE_NUM macro. 88 88 '''daemon''':: Denotes that this task is a 'daemon' process that should run in the background asynchronously while the other tasks are run sequentially. The wrapper will shut down this daemon when the last task has exited 89 89 '''append_cmdline_args''':: if set, the wrapper's command-line arguments (specified in the [JobTemplates#Inputtemplates input template]) are passed to the worker program, after those in <command_line>.