Next: NEED
Up: JDF Fields
Previous: DEPEND
  Contents
STDOUT/STDERR
The STDOUT and STDERR fields cause a user process
to redirect stdout and stderr of the batch processes
to the directory or file specified. The default is to create a file in the
users home area with the following form:
FBS_sectionid.logical_pid.[(out|err)]
logical_pid is a unique integer from 1 to NUMPROC
assigned by FBSNG to each process in the section.
sectionid is the unique section identifier.
If STDOUT/STDERR is specified, FBSNG interprets the string
according to the following rules:
- If the string does not start with a '/', the users home area is
prepended to the string.
- If the string ends with a '/',
the string is interpreted as a directory where the files
sectionid.logical_pid.[(out|err)] will be created.
- If the string does not end with a '/', the string is interpreted
as the filename that will be created.
- If the string contains `%j', it will be expanded with
sectionid
- If the string contains '%n', it will be expanded with
the logical_pid of the process.
- If the string contains '%J', it will be expanded with jobid.
- If the string contains '%S', it will be expanded with
sectionname.
When a batch process starts on a farm node, it will have the environment
variables FBS_PROC_STDOUT and FBS_PROC_STDERR
will have the names of stdout and
stderr files to respectively.
Next: NEED
Up: JDF Fields
Previous: DEPEND
  Contents
FBSNG Home