[GE users] 6.2u2 qrsh and pipes

adary adary at marvell.com
Tue Jun 2 08:17:55 BST 2009

    [ The following text is in the "Windows-1252" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

To answer my own question

In my setup we always have $SGE_FILESDIR set as path to where the logs should be writted.

I wrote a simple shell script that I call subme.sh:


$* |tee $SGE_FILESDIR/$JOB_ID.log

When the job is submitted:

qrsh ?pty y ?b y ?. subme.sh application ?params ?.

Works perfectly.



From: adary [mailto:adary at marvell.com]
Sent: Tuesday, June 02, 2009 10:04 AM
To: users at gridengine.sunsource.net
Subject: [GE users] 6.2u2 qrsh and pipes

Hi Everyone,

I ran into an interesting problem

Our grid was recently upgraded to 6.2u2, and prior to upgrade all qrsh users were used to use qrsh ?. |tee logfile

And this is now broken. At the same time, -o with qrsh doesn?t give us the stdout of the application that runs. Any ideas on how to override this behavior?

Yuval Adar, Marvell Israel - Senior UNIX System Administrator
6 Hamada Street
Mordot HaCarmel Industrial Park
Yokneam, 20692, Israel
Email: adary at marvell.com<mailto:adary at marvell.com>
Office:  +972.4.9091188 - OnNet: 704.1188
Fax:      +972.4.9091501
Mobile: +972.54.2493958
Web site: http://www.marvell.com<http://www.marvell.com/>

This message may contain confidential, proprietary or legally privileged information. The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone or by e-mail and delete the message from your computer.

More information about the gridengine-users mailing list