On Tue, Jul 12, 2016 at 3:04 PM, David Ramírez <drami...@sie.es> 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 it ;)
>
>
>
> I used srun –pmi=mpi2 in some programs and Works too
>
>
>
>
>
> *De:* Husen R [mailto:hus...@gmail.com]
> *Enviado el:* martes, 12 de julio de 2016 9:59
>
> *Para:* slurm-dev <slurm-dev@schedmd.com>
> *Asunto:* [slurm-dev] Re: number of processes in slurm job
>
>
>
>
>
>
>
> On Tue, Jul 12, 2016 at 2:53 PM, David Ramírez <drami...@sie.es> 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 works.
>
>
>
> I use OpenMPI and Works fine without indicated mpi procs into my batch
> file.
>
>
>
> *De:* Husen R [mailto:hus...@gmail.com]
> *Enviado el:* martes, 12 de julio de 2016 9:41
> *Para:* slurm-dev <slurm-dev@schedmd.com>
> *Asunto:* [slurm-dev] Re: number of processes in slurm job
>
>
>
>
>
>
>
> On Tue, Jul 12, 2016 at 2:24 PM, Loris Bennett <loris.benn...@fu-berlin.de>
> wrote:
>
>
> Husen R <hus...@gmail.com> 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.o 6000
>
> You need to tell 'mpirun' how many processes to start.  If you do not,
> probably all cores available will be used.  So it looks like you have 6
> cores per node and thus 'mpirun' starts 18 processes.  You should write
> some thing like
>
>   mpirun -np ${SLURM_NTASKS} ./mm.o 6000
>
>
>
> without specifying -np value, using "#SBATCH -n 16" as written in my
> sbatch script I hope mpirun will use 16 as the number of processes.
>
> however, I just realized mpirun doesn't read sbatch script.
>
>
> Cheers,
>
> Loris
>
>
> > regards,
> >
> > Husen
> >
> > On Tue, Jul 12, 2016 at 1:21 PM, Loris Bennett
> > <loris.benn...@fu-berlin.de> wrote:
> >
> >     Husen R <hus...@gmail.com> writes:
> >
> >     > number of processes in slurm job
> >
> >
> >     >
> >     > Hi all,
> >     >
> >     > I tried to run a job on 3 nodes (N=3) with 16 number of processes
> >     > (n=16) but slurm automatically changes that n value to 18 (n=18).
> >     >
> >     > I also tried to use other combination of n values that are not
> equally
> >     > devided by N but Slurm automatically changes those n values to
> values
> >     > that are equally devided by N.
> >     >
> >     > How to change this behavior ?
> >     > I need to use a specific value of n for experimental purpose.
> >     >
> >     > Thank you in advance.
> >     >
> >     > Regards,
> >     >
> >     > Husen
> >
> >
> >     You need to give more details about what you did. How did you set the
> >     number of processes?
> >
> >     Cheers,
> >
> >     Loris
> >
> >     --
> >     Dr. Loris Bennett (Mr.)
> >     ZEDAT, Freie Universität Berlin Email
> >     loris.benn...@fu-berlin.de
> >
> >
> >
>
> --
> Dr. Loris Bennett (Mr.)
> ZEDAT, Freie Universität Berlin         Email loris.benn...@fu-berlin.de
>
>
>
>
>
> Este correo y sus archivos asociados son privados y confidenciales y va
> dirigido exclusivamente a su destinatario. Si recibe este correo sin ser el
> destinatario del mismo, le rogamos proceda a su eliminación y lo ponga en
> conocimiento del emisor. La difusión por cualquier medio del contenido de
> este correo podría ser sancionada conforme a lo previsto en las leyes
> españolas. No se autoriza la utilización con fines comerciales o para su
> incorporación a ficheros automatizados de las direcciones del emisor o del
> destinatario .
>
> This mail and its attached files are confidential and are exclusively
> intended to their addressee. In case you may receive this mail not being
> its addressee, we beg you to let us know the error by reply and to proceed
> to delete it. The circulation by any mean of this mail could be penalised
> in accordance with the Spanish legislation. The use of both the transmitter
> and the addressee’s address with a commercial aim, or in order to be
> incorporated to automated files, is not authorised.
>
>
>
> Este correo y sus archivos asociados son privados y confidenciales y va
> dirigido exclusivamente a su destinatario. Si recibe este correo sin ser el
> destinatario del mismo, le rogamos proceda a su eliminación y lo ponga en
> conocimiento del emisor. La difusión por cualquier medio del contenido de
> este correo podría ser sancionada conforme a lo previsto en las leyes
> españolas. No se autoriza la utilización con fines comerciales o para su
> incorporación a ficheros automatizados de las direcciones del emisor o del
> destinatario .
>
> This mail and its attached files are confidential and are exclusively
> intended to their addressee. In case you may receive this mail not being
> its addressee, we beg you to let us know the error by reply and to proceed
> to delete it. The circulation by any mean of this mail could be penalised
> in accordance with the Spanish legislation. The use of both the transmitter
> and the addressee’s address with a commercial aim, or in order to be
> incorporated to automated files, is not authorised.
>



-- 
Post Graduate Student
Faculty of Computer Science
University of Indonesia
Depok

Reply via email to