We're getting a really odd effect when trying to submit a script which merges 
STDIN and STDERR to qsub.  It looks like something is removing characters from 
the command and the data is being sent into a file called 1 instead of coming 
out of STDIN.  A simple example is shown below:

[andrewss@rocks1 Bug]$ more broken.sh
#!/usr/bin/bash
echo "Hello" 2>&1
[andrewss@rocks1 Bug]$ qsub -cwd -V broken.sh
Your job 201139 ("broken.sh") has been submitted
[andrewss@rocks1 Bug]$ ls -ltr
total 78
-rwxr-xr-x 1 andrewss bioinf 33 Jul  8 09:33 broken.sh
-rw-r--r-- 1 andrewss bioinf  0 Jul  8 09:35 broken.sh.e201139
-rw-r--r-- 1 andrewss bioinf 84 Jul  8 09:35 broken.sh.o201139
-rw-r--r-- 1 andrewss bioinf  8 Jul  8 09:35 1
[andrewss@rocks1 Bug]$ more 1
Hello 2

It looks like something is eating the & so the command which is being run is 
simply:

echo Hello 2>1

Any idea why this might be happening or suggestions for a work round?

Thanks

Simon.

The Babraham Institute, Babraham Research Campus, Cambridge CB22 3AT Registered 
Charity No. 1053902.
The information transmitted in this email is directed only to the addressee. If 
you received this in error, please contact the sender and delete this email 
from your system. The contents of this e-mail are the views of the sender and 
do not necessarily represent the views of the Babraham Institute. Full 
conditions at: www.babraham.ac.uk<http://www.babraham.ac.uk/terms>

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to