[GE users] $JOB_ID in joined output stream

Desany, Brian bdesany at 454.com
Tue Mar 29 22:23:48 BST 2005


I'm having a problem with getting the output file name to match what I'm
telling it.

The parts of qsub that seem to matter are:

qsub -pe my_pe 2 -j y -o log.$JOB_ID  ...

When I join stdout and stderr for the job and specify the
pseudo-environment variable $JOB_ID, the -o option does not insert the

Since I'm joining stderr and stdout, I tried using -e but that creates 2
files (presumably 1 for each -pe slot I'm using), both of which have
filenames that do include the $JOB_ID but which start with $JOB_NAME and
not "log" as I specified.

Is there a way to accomplish what I want, which is a single output file
(merged stderr and stdout) with the name that I specify, including the



Brian Desany, Ph.D.
454 Life Sciences
20 Commercial Street
Branford, CT 06405

Phone: 203-871-2422
Fax: 203-481-2075
bdesany at 454.com

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list