Changes between Version 49 and Version 50 of WrapperApp


Ignore:
Timestamp:
Mar 20, 2011, 1:45:52 AM (14 years ago)
Author:
carlgt1
Comment:

added $NTHREADS macro information

Legend:

Unmodified
Added
Removed
Modified
  • WrapperApp

    v49 v50  
    5050 '''stdin_filename''', '''stdout_filename''', '''stderr_filename''':: The logical names of the files to which
    5151  stdin, stdout, and stderr are to be connected (if any).
    52  '''command_line''':: command-line arguments to be passed to the worker program.
     52 '''command_line''':: command-line arguments to be passed to the worker program.  You can use the $NTHREADS macro which will be replaced by the number of threads (or processes for MPI applications) that BOINC is allocating for the application.
    5353 '''weight''':: the contribution of each task to the overall fraction done
    5454  is proportional to its weight (floating-point, default 1).
     
    6363  This is used by the wrapper to report overall fraction done.
    6464 '''exec_dir''':: The directory to start the application (relative to slot, or use $PROJECT_DIR macro)
    65  '''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
     65 '''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.
    6666 '''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
    6767 '''append_cmdline_args''':: if set, the wrapper's command-line arguments (specified in the [WorkGeneration#templates input template]) are passed to the worker program, after those in <command_line>.