Quoting Zhemzhitsky Sergey <[email protected]>: > 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
The echo is sent back to srun and the stdout from srun is being written to the local file /tmp/test.log. You need to use -o with a file name containing %N, %n or %t. See the srun man page section labeled "IO Redirection" for details. > 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. >
