Closed vinjana closed 7 years ago
The problem was cause by incorrect redirections using the single >
operator to /dev/stderr
. Apparently, this reopens the output stream and only the last /dev/stderr file handle is returned to PBS/LSF to be returned as standard error.
In the future, use
>> /dev/stderr
exec 1>&2
>&2 $command
You solved this right?
Solved.
All the logging output that should be produced with
set -x
, up to the lineRODDY_SCRATCH is set to ...
is missing from the STDERR log files.