[slurm-dev] Re: number of processes in slurm job

2016-07-12 Thread Loris Bennett
Husen R writes: > Re: [slurm-dev] Re: number of processes in slurm job > > Hi, > > Thanks for your reply ! > > I use this sbatch script > > #!/bin/bash > #SBATCH -J mm6kn2_03 > #SBATCH -o 6kn203-%j.out > #SBATCH -A necis > #SBATCH -N 3 > #SBATCH -n 16 > #SBATCH --time=05:30:00 > > mpirun ./mm.

[slurm-dev] Re: number of processes in slurm job

2016-07-12 Thread Carlos Fenoy
If you do not specify the number of nodes does it work as expected? On Tue, 12 Jul 2016, 09:25 Loris Bennett, wrote: > > Husen R writes: > > > Re: [slurm-dev] Re: number of processes in slurm job > > > > Hi, > > > > Thanks for your reply ! > > > > I use this sbatch script > > > > #!/bin/bash >

[slurm-dev] Re: number of processes in slurm job

2016-07-12 Thread Husen R
On Tue, Jul 12, 2016 at 2:24 PM, Loris Bennett wrote: > > Husen R writes: > > > Re: [slurm-dev] Re: number of processes in slurm job > > > > Hi, > > > > Thanks for your reply ! > > > > I use this sbatch script > > > > #!/bin/bash > > #SBATCH -J mm6kn2_03 > > #SBATCH -o 6kn203-%j.out > > #SBATCH

[slurm-dev] Re: number of processes in slurm job

2016-07-12 Thread Husen R
On Tue, Jul 12, 2016 at 2:37 PM, Carlos Fenoy wrote: > If you do not specify the number of nodes does it work as expected? > it run with 2 nodes, not 3 nodes. I just realized, I have to use srun instead of mpirun in order for SLURM to run my job as I'm expected. > On Tue, 12 Jul 2016, 09:25 L

[slurm-dev] Re: number of processes in slurm job

2016-07-12 Thread David Ramírez
Re: [slurm-dev] Re: number of processes in slurm job Hi Husen. Are you compiled OpenMPI with Slurm?? Indicate for example –with-slurm and –with-pmi ¿? I use OpenMPI and Works fine without indicated mpi procs into my batch file. *De:* Husen R [mailto:hus...@gmail.com] *Enviado el:* martes,

[slurm-dev] Re: number of processes in slurm job

2016-07-12 Thread Husen R
On Tue, Jul 12, 2016 at 2:53 PM, David Ramírez wrote: > Hi Husen. > > > > Are you compiled OpenMPI with Slurm?? Indicate for example –with-slurm and > –with-pmi ¿? > Hi David, I use MVAPICH2. I found that I have to use srun instead of mpirun. I use this command : srun --mpi=pmi2 ./mm.o 6000 it

[slurm-dev] Re: number of processes in slurm job

2016-07-12 Thread David Ramírez
Re: [slurm-dev] Re: number of processes in slurm job Hi Husen I don’t use mcapich since some years. But I remenber when you compile MVAPCIH2 you must indicate ./ configure --with -pm=no --with - pmi = slurm I hope to you can fix it ;) I used srun –pmi=mpi2 in some programs and Works to

[slurm-dev] Re: number of processes in slurm job

2016-07-12 Thread Husen R
On Tue, Jul 12, 2016 at 3:04 PM, David Ramírez wrote: > Hi Husen > > > > I don’t use mcapich since some years. But I remenber when you compile > MVAPCIH2 you must indicate > > > > ./ configure --with -pm=no --with - pmi = slurm > Hi David, Thanks for the information > > > I hope to you can fix

[slurm-dev] RSVP

2016-07-12 Thread offir bs
You're invited! *‪‪Offir sent you an animation*. View Encouragement RSVP Now

[slurm-dev] Single CPU job consuming 8 CPUs

2016-07-12 Thread Yuri
- # squeue -o "%A %c %C" JOBID MIN_CPUS CPUS 48 1 1 49 1 1 50 1 1 51 1 1 52 1 1 53 1 1 46 1 8 47 1 8 - Each job is the same bash script: - #!/bin/bash #SBATCH -n 1 #SBATCH -t 0-00:05 #SBATCH -p short sleep 200 - In slurm.conf I have CPUs=4 for each node (but each node actually has a Intel Core

[slurm-dev] Re: Single CPU job consuming 8 CPUs

2016-07-12 Thread Yuri
Forgot to say that only the last two lines are the jobs that are running. On Tue, Jul 12, 2016, at 15:55, Yuri wrote: > > - > # squeue -o "%A %c %C" > JOBID MIN_CPUS CPUS > 48 1 1 > 49 1 1 > 50 1 1 > 51 1 1 > 52 1 1 > 53 1 1 > 46 1 8 > 47 1 8 > - > > Each job is the same bash script: > - > #!/b

[slurm-dev] Re: Single CPU job consuming 8 CPUs

2016-07-12 Thread Yuri
Here's another output: # squeue -o "%10F %10c %10C %10T %10M %10R" ARRAY_JOB_ MIN_CPUS CPUS STATE TIME NODELIST(R 59 1 1 PENDING0:00 (Resources 60 1 1 PENDING0:00 (Priority) 61 1 1

[slurm-dev] Re: Single CPU job consuming 8 CPUs

2016-07-12 Thread Benjamin Redling
Hi Yuri, On 2016-07-12 20:53, Yuri wrote: > In slurm.conf I have CPUs=4 for each node (but each node actually has a > Intel Core i7). My question is: why is slurm assigning only one job per > node and each job is consuming 8 CPUs? considering that you only provide "CPU... for each node" the sbat

[slurm-dev] Re: Single CPU job consuming 8 CPUs

2016-07-12 Thread Yuri
Changing to "SelectType=select/cons_res" worked, thanks. On Tue, Jul 12, 2016, at 17:00, Benjamin Redling wrote: > > Hi Yuri, > > On 2016-07-12 20:53, Yuri wrote: > > In slurm.conf I have CPUs=4 for each node (but each node actually has a > > Intel Core i7). My question is: why is slurm assigni