Hi Rolands,

Thanks for notice!

Resolved the issue with 

echo "Hello World" | srun tee /tmp/test.log

Best Regards,
Sergey

-----Original Message-----
From: Rolandas Naujikas [mailto:[email protected]] 
Sent: Tuesday, October 16, 2012 5:33 PM
To: slurm-dev
Cc: Zhemzhitsky Sergey
Subject: Re: [slurm-dev] How to redirect stdout to a separate file on each node?

On 2012-10-16 16:20, Zhemzhitsky Sergey wrote:
> Hello slurm gurus,
>
> I’ve just started playing with slurm and have some troubles with redirecting 
> stdout.
>
> For example, if  I’m trying to execute
>
> srun -w dev[1-3] echo “Hello World” > /tmp/test.log

You have to put \> or better create separate script for that, because your 
command line redirects all outputs to the file /tmp/test.log on frontend/login 
node. It has nothing with slurm iteself, it is Unix/Linux shell feature.

Regards, Rolandas

> there are no files /tmp/test.log created on the specified nodes.
>
> The option “-o none” does not help either.
>
> Could you please help to resolve this issue.
>
> Best Regards,
> Sergey
>
>
> _______________________________________________________
> CONFIDENTIALITY NOTICE: This email and any files attached to it may be conf 
> idential. If you are not the intended recipient you are notified that using, 
> copying, distributing or taking any action in reliance on the contents of 
> this information is strictly prohibited. If you have received this email in 
> error please notify the sender and delete this email.
>

Reply via email to