Re: [slurm-dev] Limit by number of CPUs by user

2012-01-19 Thread luis . ruiz
Dear all: Sorry, remembered that he had changed maxcpus limit for other tests. I modified the maxcpus limit and everything works all right Sincerely, Luis Felipe Ruiz Nieto

RE: Re: [slurm-dev] Limit by number of CPUs by user

2012-01-19 Thread Danny Auble
What do you mean by change the characteristics defined? A user should not be able to go over a partition limit and if you are enforcing a QOS a user should not be able to go over any limits set there. In the examples you had before the job only got 1 cpu but was not bound to it so ran on both of

RE: Re: [slurm-dev] Limit by number of CPUs by user

2012-01-19 Thread luis
Dear ALL: Thank you all for the help. I work with what you told me. From what I have read, users can change the characteristics defined in the partitiomname or/and in the "qos" using the command line. Example: sbatch -p sec4 --qos=sec4000 -n2 lanza09-1-b tres_forma1c_2-bis or sbatch -p sec

Re: [slurm-dev] Limit by number of CPUs by user

2012-01-18 Thread Martin . Perry
Luis, The SLURM CPU Management Guide has several examples of cpu binding. One of these may match what you're trying to do. See http://www.schedmd.com/slurmdocs/cpu_management.html Regards, Martin Re: [slurm-dev] Limit by number of CPUs by user Danny Auble to: slurm-dev 01/18/20

Re: [slurm-dev] Limit by number of CPUs by user

2012-01-18 Thread Danny Auble
Luis, Charles is right about the job not being bound. As you can see from the log output and from the insert into the database, SLURM is only allocating 1 cpu to your job. The problem is it isn't bound to any cpu and is using all it can find. If you use the task affinity to bind the job thin

Re: [slurm-dev] Limit by number of CPUs by user

2012-01-18 Thread Carles Fenoy
Hola Felipe, can you send us a squeue after submitting the job? It seems that you don't specify 1 cpu for the job and the job is not binded to 1 cpu. This way it can use all the resources in the compute node. Try to enable task affinity to bind the job to only 1 cpu. This way if the job opens thre

Re: [slurm-dev] Limit by number of CPUs by user

2012-01-17 Thread Danny Auble
Luis, On 01/16/12 23:58, luis.r...@uam.es wrote: Good morning, I work with a cluster is homogeneous and I’m currently working with slurm 2.3.2. I would like to limit the number of CPUs used by jobs in the cluster. To do this I used ‘qos’ and the variable ‘MaxCPUs’. If I set a job to use two CP

[slurm-dev] Limit by number of CPUs by user

2012-01-17 Thread luis.r...@uam.es
Good morning, I work with a cluster is homogeneous and I’m currently working with slurm 2.3.2. I would like to limit the number of CPUs used by jobs in the cluster. To do this I used ‘qos’ and the variable ‘MaxCPUs’. If I set a job to use two CPUs, that is the number of CPUs that it takes. The sa