qlogin works also, but in soge 8.1.3 on rh6, you may have to configure the old 
way using
tight integration with ssh. I ran into this issue recently.

If you want to use qrsh to fire up a real interactive job, then you can use
xterm or something of the sort if allowed to.

ex: assuming x11 server number 10 is owned and used by you...
 ( if no x11 forwarding enabled via ssh....)

export DISPLAY=myhostsomewhere:10.0

qrsh -cwd -V -b y xterm

Using xterm with qsub and qrsh can present nightmares for sysadmins.... :(

Hope this helps.

-Ed



-----Original Message-----
From: Ed Lauzier [mailto:[email protected]]
Sent: Tuesday, June 4, 2013 02:37 PM
To: [email protected] Users
Subject: Re: [gridengine users] function to submit inside bash script

test.sh:

#!/bin/bash
test(){
echo "$HOSTNAME"
}

chmod 755 test.sh

qrsh -cwd -V ./test.sh

Can you run this?

qrsh -cwd -V -b y uname -a

-Ed




-----Original Message-----
From: Vamsi Krishna [mailto:[email protected]]
Sent: Tuesday, June 4, 2013 02:25 PM
To: [email protected] Users
Subject: [gridengine users] function to submit inside bash script

Hi,

i have function insdie bash script
#!/bin/bash
test(){
echo "$HOSTNAME"
}
qrsh -V -now no -pty y test 



can i submit function using qrsh interactive way 


Regards
PVK


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

Reply via email to