-e
Appends the standard error output of the job to the specified file path.
Categories
io
Synopsis
bsub -e error_fileDescription
If the parameter LSB_STDOUT_DIRECT in lsf.conf is set to Y or y, the standard error output of a job is written to the file you specify as the job runs. If LSB_STDOUT_DIRECT is not set, it is written to a temporary file and copied to the specified file after the job finishes. LSB_STDOUT_DIRECT is not supported on Windows.
If you use the special character %J in the name of the error file, then %J is replaced by the job ID of the job. If you use the special character %I in the name of the error file, then %I is replaced by the index of the job in the array if the job is a member of an array. Otherwise, %I is replaced by 0 (zero).
If the current working directory is not accessible on the execution host after the job starts, LSF writes the standard error output file to /tmp/.
If the specified error_file path is not accessible, the output will not be stored.
If the specified error_file is the same as the output_file (as specified by the -o option), the error_file of the job is NULL and the standard error of the job is stored in the output file.