[torqueusers] sending mails with mail command

Kevin Van Workum vanw at sabalcore.com
Wed Feb 24 11:10:06 MST 2010


On Wednesday, February 24, 2010, Arnau Bria <arnaubria at pic.es> wrote:
> On Wed, 24 Feb 2010 11:09:24 -0600
> Joseph M (IS) Greenseid wrote:
>
>> >> A couple of suggestions to try.
>> >> 1) Start an interactive torque job and run all the commands you
>> >> want in that interactive session, walking through your script line
>> >> by line.
>> >
>> >It's only that line!!
>>
>> So when you do a qsub -I and then run that one line, does it work?
> yep:
>  [arnaubria at ui01 ~]$ qsub -I -q short
> qsub: waiting for job 8910843.pbs02.pic.es to start
> qsub: job 8910843.pbs02.pic.es ready
>
> [arnaubria at td043 ~]$ /bin/mailx -s KAKA arnaubria at pic.es </nfs/pic.es/user/a/arnaubria/kaka.txt
> [arnaubria at td043 ~]$ logout
>
>
> qsub: job 8910843.pbs02.pic.es completed
>
> and I get the mai...
>
>> --Joe
> Thanks Joe,
> Arnau
>

Missing some env variable in the job environment?


_______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>

-- 
Kevin Van Workum, PhD
Sabalcore Computing Inc.
Run your code on 500 processors.
Sign up for a free trial account.
www.sabalcore.com
877-492-8027 ext. 11


More information about the torqueusers mailing list