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 or $GPU_DEVICE_NUM macro. |
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 | | '''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>. |
90 | | '''time_limit''':: if given, kill the task after the given amount of elapsed (running) time. Note: on Windows, tasks are killed using !TerminateProcess(), which doesn't flush stdio buffers; take this into account. |
| 86 | '''multi_process''':: Include this if the application creates multiple processes. |
| 87 | '''Note: each parent process must wait for its children to exit.''' |
| 88 | '''setenv''':: Environment variable needed by the applications. |
| 89 | You can have more than one <setenv> entry. |
| 90 | Use the VARNAME=VAR_VALUE form, e.g. LD_LIBRARY_PATH=$PROJECT_DIR:$LD_LIBRARY_PATH. |
| 91 | You can also use the $NTHREADS or $GPU_DEVICE_NUM macro. |
| 92 | '''daemon''':: this task is a 'daemon' process that should run in the background asynchronously |
| 93 | while the other tasks are run sequentially. |
| 94 | The wrapper will shut down this daemon when the last task has exited. |
| 95 | '''append_cmdline_args''':: if set, the wrapper's command-line arguments |
| 96 | (specified in the [JobTemplates#Inputtemplates input template]) |
| 97 | are passed to the worker program, after those in <command_line>. |
| 98 | '''time_limit''':: if given, kill the task after the given amount of elapsed (running) time. |
| 99 | Note: on Windows, tasks are killed using !TerminateProcess(), |
| 100 | which doesn't flush stdio buffers; take this into account. |