Closed HenrikBengtsson closed 6 years ago
Ok, I've done this for the places where it's "obvious" how to do it. At least the following remain:
$ grep -E "[-]nct[ ]+[0-9]" *.pbs scripts/*.sh
scripts/Germline.sh: ### -nct 3 -nt 8 \
scripts/UG.sh: -nct 3 -nt 8 \
but since it's a combination of -nct
and -nt
it's not straightforward. Closing for now.
The number of parallel threads/cores are hardcoded in the scripts/*.sh files, e.g.
It is better/safer not to assume that we have 12 cores available (e.g. what if that is forgotten/changed in the qsub call(*)). Instead, we should use something like:
That will default to single-core processing unless otherwise specified by
PBS_NUM_PPN
(which is set byqsub
).(*) I actually found one case where 12 cores are requested, but only 8 threads are used. With
PBS_NUM_PPN
, it would have used all allocated slots.