Hi,
Am 15.05.2013 um 17:49 schrieb Jacques Foucry:
> I am almost happy I can do somthing with my little grid :-)
>
> I have a qmaster, and two exec host. All of them are sharing the same
> SGE_CELL, nfs export from qmaster (/usr/local/sge/default).
>
> With my user, on sge1 (the second exec host) I create a small shell script :
>
> #!/bin/sh
>
> HOST=`hostname`
> echo "This is a test from ${HOST}"
>
> I tried to submit with qsub:
>
> $SGE_ROOT/bin/linux-x64/qsub test.sh
> Your job 17 ("test.sh") has been submitted
>
> On sge0 (the first exec host), in my home (same user but different
> filesystem) I can find results files:
>
> test.sh.o17
> test.sh.e17
>
> With this output (with french in it):
>
> Attention: pas d'accès au tty (Mauvais descripteur de fichier).
> Ainsi pas de contrôle de job dans ce shell.
http://arc.liv.ac.uk/SGE/howto/commonproblems.html
Or you can a) request a sh-like shell on the command line:
$ qsub -S /bin/sh test.sh
or b) change the queue definition to honor the first line of the script as to
be started shell:
$ qconf .sq all.q
...
shell_start_mode unix_behavior
> This is a test from sge0.ns42.fr
>
>
> It seems my script was submit on sge1 and executed on sge0.
>
> How can I ask qsub to exec my script on sge1?
>
> I try with -q @server option, but it did not work:
>
> % $SGE_ROOT/bin/linux-x64/qsub -q @sge1 test.sh
> Unable to run job: Job was rejected because job requests unknown queue
> "@sge1.ns42.fr".
It's necessary to specify a cluster queue or queue domain/instance (see `man
sge_typed`=> wc_queue):
$ qsub -q "*@sge1" test.sh
You can also request a dedicated host this way:
$ qsub -l h=sge1 test.sh
-- Reuti
> What did I need to check?
>
> Thanks in advance,
> Regards,
> Jacques Foucry
> --
> Jacques Foucry
> *NOVΛSPARKS *
> IT Manager
> Tel : +33 (0)1 42 68 12 61
> [email protected]
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users