Hi

Got a bit of a hairy problem.  Slurm 2.6.2, MWM 7.2.6 doing the
scheduling with the wiki2 plugin.  We have tools using DRMAA to submit
jobs: python-drmaa->slurm-drmaa->slurm

I recently added '--cpus-per-task' to the native specifications
supported by slurm-drmaa. I apparently have more work to do as jobs
aren't properly created- the job doesn't have NumCPUs set properly:

   NumNodes=1 NumCPUs=1 CPUs/Task=2 ReqS:C:T=*:*:*
   MinCPUsNode=2 MinMemoryNode=0 MinTmpDiskNode=0

This is giving Moab a headache- it reports 0 tasks for the job and
refuses to run it.

So anyway- I don't know if it's a slurm or slurm-drmaa issue- I'd like
to fix this, but I'm unsure of the proper place to implement the
repair.  Where is the NumCPUs calculation done? Is there something in
the API I should use or is the API supposed to be doing that
calculation?

Any hints appreciated.

Thanks

Michael

Reply via email to