[torquedev] [Bug 67] Support for counted resources on nodes

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Mon Jul 19 12:02:28 MDT 2010


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=67

--- Comment #17 from Simon Toth <SimonT at mail.muni.cz> 2010-07-19 12:02:27 MDT ---
Created an attachment (id=40)
 --> (http://www.clusterresources.com/bugzilla/attachment.cgi?id=40)
Resources checking logic

Additional logic to schedule resource requests passed through 
  qsub -l resource=value

This patch adds support for -l resource=value requests combined with nodespec.

Example:
  qsub -l nodes=10 -l ncpus=4 -l mem=4G



Two types of resources are supported. Per-proc and per-node.

Per-proc resources are counted for each process:
  -l nodes=1:ppn=2:ncpus=3
  if ncpus are per-proc then this is request for 2 processes, 3 cpus each = 6
cpus total

Per-node resources are counted for each node:
  -l nodes=1:ppn=2:mem=1G
  if mem is per-node then this is request for 2 processes, 1G memory on node =
1G memory total

per-proc and per-node are set using flag in the resc_def_all.c file.

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list