[torqueusers] success or failure
michael young
mhyoung at valdosta.edu
Tue Mar 13 16:21:10 MDT 2007
Thanks for the reply John.
I did 'echo "sleep 10; echo success" | qsub', as you instructed
then, 'qstat', which gave this.
Job id Name User Time Use S Queue
------------------- ---------------- ---------------- -------- - -----
320.cluster STDIN spartan 0 R default
then I did 'ls STDIN*', and it said "ls: STDIN*: No such file or directory"
Is it suppose to create a file in a curtain directory? Like maybe I'm
in the wrong directory.
thanks,
Michael
John Hanks wrote:
>Here's what I did to test this:
>
>
>griznog at uinta ~ $ echo "sleep 10; echo success" | qsub
>527191.uinta.hpc.usu.edu
>griznog at uinta ~ $ qstat 527191
>Job id Name User Time Use S Queue
>------------------- ---------------- ---------------- -------- - -----
>527191.uinta STDIN griznog 0 R serial
>griznog at uinta ~ $ ls STDIN*
>STDIN.e527191 STDIN.o527191
>griznog at uinta ~ $ cat STDIN.o527191
>success
>griznog at uinta ~ $
>
>adding 'echo success' to the submitted command forces an output file to be
>created. Hope that helps.
>
>jbh
>
>On 3/13/07 2:18 PM, "michael young" <mhyoung at valdosta.edu> wrote:
>
>
>
>>Hi,
>>
>>I do 'echo "sleep 30" | qsub'.
>>How do I know if it succeeded or failed?
>>
>>thank you,
>>Michael
>>_______________________________________________
>>torqueusers mailing list
>>torqueusers at supercluster.org
>>http://www.supercluster.org/mailman/listinfo/torqueusers
>>
>
>
>
>
More information about the torqueusers
mailing list