[GE users] failed searching requested shell sge6 u3 drmaa

Fred L Youhanaie fly at anydata.co.uk
Fri Feb 4 12:48:29 GMT 2005


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


Hi Ralf,

I can confirm this behavior with the C library, 6.0u1, if I get the time 
this afternoon I'll dig deeper.

I can't remember seeing anything about shell behavior in the drmaa spec.

Cheers
f.

Ralf Sigmund wrote:
> Hi,
> first I want to apologize for accidently mixing up results of different 
> experiments.
> I executed 2 different scripts sleeper.sh and simple.sh. The issue I 
> noticed is not related to the script-name.
> 
> Let me sumarize:
> If I submit a simple shell script using qsub, than it is executed normally.
> If I submit the same script using  drmaa i get an error message:
> 
> Shepherd error:
> 02/04/2005 09:09:49 [500:9559]: execvp(/home/sigmund/sleeper.sh, 
> "/home/sigmund/sleeper.sh") failed: Permission denied
> 
> I can fix this by making sleeper.sh executable. However there is no need 
> to set the script's executable bit before submission of a script to qsub.
> 
> The above line shows, that SGE tries to execute /home/sigmund/sleeper.sh
> I wonder why it does not try to execute /bin/sh with the String argument 
> "/home/sigmund/sleeper.sh"
> -- so should not SGE make the call:
> 
> execvp(/bin/sh, "/home/sigmund/sleeper.sh")
> 
> instead of what it obviously does when the drmaa api is used?
> 
> 
> Cheers Ralf
> 
> 
> 
> 
> Fred L Youhanaie wrote:
> 
>>
>> Hi Ralf,
>>
>> Your program is submitting simple.sh
>>
>>>          jt.setRemoteCommand ("/home/sigmund/simple.sh");
>>
>>
>>
>> but the shepherd is trying to run sleeper.sh!
>>
>>> failed searching requested shell:02/03/2005 17:18:18 [500:8990]: 
>>> execvp(/home/sigmund/sleeper.sh, "/home/sigmund/sleeper.sh" "5") fai
>>
>>
>>
>> Have you recompiled your program?
>>
>> Cheers
>> f.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
> 
> 

---------------------------------------------------------------------
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