I recently switched to slurm and looking for a job submission tool, that behaves similar to qsub:
1. It takes input through a pipe
2. It prints the output to stdout
Example:
for n in
seq 1 10
; do
echo "echo $n" | qsub
done
should send each echo command to a cluster and the output should be 1..10 presumably in random order.
So far I can
1. send jobs with sbatch in parallel, but not sure to get the output to stdout
2. send jobs with srun, but then it operates sequentially one by one
Any suggestions?
Asked by LazyCat
(188 rep)
Mar 6, 2024, 02:01 AM
Last activity: Mar 8, 2024, 04:04 PM
Last activity: Mar 8, 2024, 04:04 PM