SLURM: --ntasks vs --cpus-per-task

 What is --n-tasks? 

In SLURM, "task" has an own meaning that not many people understand. This post helped me to visualize what --n-tasks was actually doing... 

https://stackoverflow.com/questions/39186698/what-does-the-ntasks-or-n-tasks-does-in-slurm

Now I always set -n 1 and what I change for multithreading is --cpus-per-task !!!

Comments