Summay: Gridware and env

From: RaghuNath L(Raghu) (lraghunath@Lucent.Com)
Date: Tue May 07 2002 - 01:48:14 EDT


Hello Managers,
First of all i would like thank Jay and Ed rolison, problem is solved i did
qsub -S /bin/sh <wrapper> it went through.
regards

At 09:59 AM 5/6/2002 -0700, Jay Lessert wrote:
>On Mon, May 06, 2002 at 06:05:47PM +0530, RaghuNath L(Raghu) wrote:
> > Hello Managers,
> > We have deployed gridware at our facility.
> > How ever we are not able wrapper jobs which has some variables defined
> with
> > in the script.
> > We gat an error in std err like MAKE="/usr/local/bin/make" comand not
> found.
> > But we are able to run this as interactive job.
>
>Raghu,
>
>By default, SGE runs in a strict POSIX-compliant mode, where sge_execd
>is *not* allowed to use "#!path/to/shell" to figure out how to run your
>script. Instead, the user must declare the shell type at submission
>time, with a default of /bin/csh. This is done to accomodate non-unix
>exec hosts that don't *have* shells or "#!".
>
>The message you're getting is a csh syntax error generated when csh
>tries to run your /bin/sh script.
>
>You can submit your job with:
>
> % qsub -S /bin/sh [other args] scriptfile
>
>to confirm this.
>
>Since you're presumably a Unix-only shop, what you really want to do is:
>
> % qconf -rattr queue shell_start_mode unix_behavior host1.q host2.q ...
>
>...that should make the exec hosts work "right".
>
>--
>Jay Lessert jay_lessert@accelerant.net
>Accelerant Networks Inc. (voice)1.503.439.3461
>Beaverton OR, USA (fax)1.503.466.9472
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:17 EDT