Closed HenrikBengtsson closed 5 years ago
cores
is correct (but not required, the other templates don't list the number of cores per job), but n_jobs
should be listed as:
#PBS -l nodes={{ n_jobs }}:ppn=1
Fixed.
I see. So, to be 100% sure I'm on the same page, you did indeed mean:
#PBS -l nodes={{ n_jobs }}:ppn=1
and not
#PBS -l nodes=1:ppn={{ n_jobs }}
correct? ...because ZeroMQ allows you to distribute across hosts while still working on a single host if the scheduler chooses to.
Err, yes, copy & paste error. Good catch!
Actually, I'm no longer sure.
#PBS -l nodes={{ n_jobs }}:ppn=1
would request n_jobs
nodes with one processor and
#PBS -l nodes=1:ppn={{ n_jobs }}
would request 1 node with n_jobs
processors.
Depends how this is implemented in PBS, which I don't know. And I don't think we've had any PBS users yet that could have reported on this.
I have now merged n_jobs
and cores
into one line that I think (according to the documentation is correct):
#PBS -l nodes={{ n_jobs }}:ppn={{ cores | 1 }}
https://github.com/mschubert/clustermq/wiki/PBS mentions
cores
which should ben_jobs
;