[GE users] qsub does not run my bash file

Massimo Canonico canonico at mfn.unipmn.it
Thu Apr 20 23:08:25 BST 2006


    [ 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,
I'm trying to see how qsub work with bash files that use variable.

I have a very simple bash file:
#!/bin/bash
basepath=/export/home/mex/BoTSched
echo $basepath

if I run it, I get the correct output:
[mex at clusun subfile]$ ./prova.sh
/export/home/mex/BoTSched

but if I try to submit it to SGE:
[mex at clusun subfile]$ qsub ./prova.sh
Your job 20056 ("prova.sh") has been submitted.

I got an error:
[mex at clusun subfile]$ more ~/prova.sh.e20056
basepath=/export/home/mex/BoTSched: Command not found.
basepath: Undefined variable.

[mex at clusun subfile]$ more ~/prova.sh.o20056
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.

Any ideas?

Thanks,
 Massimo.

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