Hi Xaver,

On 6/02/2023 08:39, Xaver Stiensmeier wrote:

How would you schedule a job (let's say using srun) to work on these
nodes? Of course this would be interesting in a dynamic case, too
(assuming that the database is downloaded to nodes during job
execution), but for now I would be happy with a static solution (where
it is okay to store a value before that says something like
"hasDatabase=1" on nodes.

You could use features for that? A feature can be assigned to nodes and you can 
request nodes with specific feature for a job:

In slurm.conf:
NodeName=node001 CPUs=1 Feature=hasdatabase ...

And for your jobs:
sbatch --constraint=hasdatabase ...


Ward

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to