On 07/10/2012 02:37 AM, Reuti wrote:
Am 10.07.2012 um 09:29 schrieb Hung-Sheng Tsao Ph.D.:

  hi
to use -S /bin/bash
need
shell_start_mode     posix_behavior

you may also want to add bash to login_shells in qconf -mconf global

regards

On 7/10/2012 1:21 AM, Joseph A. Farran wrote:
Hello.

I have a cluster with Rocks 5.4.3 (SL) and I believe this is a Rocks issue but 
not sure.

I have my "sge_request" with the default shell of:

-S /bin/bash

My OGE scripts that start with "#!/bin/bash" work on some compute nodes and 
fails on others.
The setting of -S is indeed unused with the setting of "shell_start_mode 
unix_behavior". But the question remains, why it's not found.

/bin/bash is present on all systems at exactly this location? Any typo in the 
scripts?

-- Reuti


Thanks Hung-Sheng and Reuti.

It was indeed both the queue "shell_start_mode".   Changing it to "posix_compliant" ( not 
"posix_behavior") did the trick.

I was using the same identical script, so it's still a mystery why the script 
ran on some nodes while it failed on others, but now with this change it works 
on all nodes and that is good enough.

What is funny and ironic here is that I had change the shell_start_mode to 
"unix_behavior" as a recommendation that things would work better :-)

Best,
Joseph




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

Reply via email to