Hello,
Don't use quotation marks with your command.
For example, you can execute:
srun hostname -f
but it won't work when you type:
srunĀ "hostname -f"
That's because it would try to execute "hostname -f" executalbe, not
only "hostname" with "-f" as an argument.
Best regards,
Jacek
W dni
Use sbatch's wrapper command:
sbatch --wrap='ls -l /tmp'
Note that the output will be in the directory on the execution
node, by default with the name slurm-.out
On 12/18/19 8:40 PM, William Brown
wrote:
Sometim
Sometimes the way is to make the shell the binary, e.g. bash -c 'ls -lsh'
On Wed, 18 Dec 2019, 18:25 Dean Schulze, wrote:
> This is a rookie question. I can use the srun command to execute a simple
> command like "ls" or "hostname" on a node. But I haven't found a way to
> add arguments lik
This is a rookie question. I can use the srun command to execute a simple
command like "ls" or "hostname" on a node. But I haven't found a way to
add arguments like "ls -lart".
What I need to do is execute a binary that takes arguments (like "a.out
arg1 arg2 arg3) that exists on the node.
Is s