Dear Michel, 

What I read from the code (It is while back that I did that, but we are in the 
process of patching some maui stuff). The 
  * N-TaskCount is number of jobs on the node
  * and N->DRes.Procs —> Which resources are given to the consumer,

So you can have a node with 16 cores and if you have an share node:
 * 4 nodes dat consume all cores

With the  N->DRes.Procs  you can determine if there are slot available for 
other jobs, eg:
 * 5 jobs each 2 core 
 *  N->DRes.Procs  will be 10
 * and still 6 slots available

That is what I read.

> On 8 dec. 2015, at 23:09, Michel Béland <[email protected]> wrote:
> 
> Hello,
> 
> I am trying to modify Maui to understand correctly the "exec_host" job 
> attribute and the "jobs" node attribute. While reading the code, I 
> wondered what was the meaning of parts of the data structure.
> 
> So what is the difference between N->TaskCount and N->DRes.Procs, where 
> N is a pointer of type mnode_t? The comments do not help a lot.
> 
> -- 
> Michel Béland, analyste en calcul scientifique
> [email protected]
> bureau S-250, pavillon Roger-Gaudry (principal), Université de Montréal
> téléphone : 514 343-6111 poste 3892     télécopieur : 514 343-2155
> Calcul Québec (www.calculquebec.ca)
> Calcul Canada (calculcanada.ca)
> 
> _______________________________________________
> mauiusers mailing list
> [email protected]
> http://www.supercluster.org/mailman/listinfo/mauiusers

--
Bas van der Vlies
| Operations, Support & Development | SURFsara | Science Park 140 | 1098 XG  
Amsterdam
| T +31 (0) 20 800 1300  | [email protected] | www.surfsara.nl |




_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers

Reply via email to