single-cell-genetics/cellsnp-lite

How to set -p (Slurm)

flde opened this issue · 1 comments

flde commented

Hi, many thanks for the great tool! I got a bit confused about the -p parameter. Should it be set to the number of available CPUs? I am asking because in the output it says [I::csp_fetch_core][Thread-1] and I would have multiple threads per CPU, right?

Highly appreciate you help.

All the best, Flo

flde commented

Okay, I think I got it. On the cluster the Slurm parameter --cpus-per-task actually referes to the number of threads on a node. So --cpus-per-task should equal -p. Quite basic I guess, sorry.