[Mauiusers] 1 CPU jobs

Bas van der Vlies basv at sara.nl
Thu Mar 27 10:38:43 MDT 2008


Leandro wrote:
> Sorry for the cross post and for not searching for that on the lists 
> archives, but I'm really in trouble....
> 
> I have some clusters with 2 or 4 cores per node and for some 
> applications, which uses OpenMP, I need only to allocate 1 core per node 
> to run and the application forks to the other cores.
> 
> With my current configuration, it works for one job. But, when a second 
> job for the same application is submitted, Torque/Maui allocate the same 
> nodes to this job, because there are free CPUs on this nodes!
> 
> But, as the process forks and runs on all CPUs, what I need is mark the 
> nodes as used when the nodes have a job allocated to them. It was 
> working this way when I was using FIFO as the scheduler, but with maui, 
> this behavior changed.
> 
> In Maui, I'm using the parameter "JOBNODEMATCHPOLICY    EXACTNODE" to 
> get it more close to what is described on qsub command line. In this 
> case, I tried with qsub -l nodes=X:ppn=1 and -l nodes=X,tpn=1 and none 
> give me the results I need. I know maui interprets this commands on his 
> own way, but maybe there's a clean way to do that....
> 
> If someone could point me to the right direction, will be great.
> 
Set:
  NODEACCESSPOLICY      SINGLEJOB

This parameter only allows one job per node. Is this what you want to obtain?

Regards

> Thanks everyone,
> 
> -- 
> Leandro Tavares Carneiro
> Systems Engineer - Linux Specialist
> 


-- 
--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: basv at sara.nl      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************


More information about the mauiusers mailing list