Re: [OMPI users] OpenMPI 1.8.1 runs more OpenMP Threads on the same core

2014-06-27 Thread Luigi Santangelo
:) Thanks to both
I'll try you solution and I'll give you a feedback

Thanks


2014-06-27 15:01 GMT+02:00 :

>
>
> Hi Luigi,
>
> Please try:
>
> --map-by slot:pe=4
>
> Probably Ralph is very busy, so something sliped his memory...
>
> Regards,
> Tetsuya
>
> > Hi all,
> > My system is a 64 core, with Debian 3.2.57 64 bit, GNU gcc 4.7, kernel
> Linux 3.2.0 and OpenMPI 1.8.1.
> > I developed an application to matching proteins files using OpenMP
> +OpenMPI. I compiled souce code with -fopenmp flag, I set OMP_NUM_THREADS=4
> then I ran binary with mpiexec -np 16.
> > When the program runs, the top command show me that only 16 core are
> used. If I use the previous of OpenMPI (1.6.5) it works fine. Must I set
> anything in the new version? Where I wrong?
> >
> > Thanks in advance
> >
> > Luigi___
> > users mailing list
> > us...@open-mpi.org
> > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/usersLink to
> this post: http://www.open-mpi.org/community/lists/users/2014/06/24712.php
>
> ___
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2014/06/24714.php
>


Re: [OMPI users] OpenMPI 1.8.1 runs more OpenMP Threads on the same core

2014-06-27 Thread tmishima


Hi Luigi,

Please try:

--map-by slot:pe=4

Probably Ralph is very busy, so something sliped his memory...

Regards,
Tetsuya

> Hi all,
> My system is a 64 core, with Debian 3.2.57 64 bit, GNU gcc 4.7, kernel
Linux 3.2.0 and OpenMPI 1.8.1.
> I developed an application to matching proteins files using OpenMP
+OpenMPI. I compiled souce code with -fopenmp flag, I set OMP_NUM_THREADS=4
then I ran binary with mpiexec -np 16.
> When the program runs, the top command show me that only 16 core are
used. If I use the previous of OpenMPI (1.6.5) it works fine. Must I set
anything in the new version? Where I wrong?
>
> Thanks in advance
>
> Luigi___
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/usersLink to
this post: http://www.open-mpi.org/community/lists/users/2014/06/24712.php



Re: [OMPI users] OpenMPI 1.8.1 runs more OpenMP Threads on the same core

2014-06-27 Thread Ralph Castain
You should add this to your cmd line:

--map-by core:pe=4

This will bind each process to 4 cores

Sent from my iPhone

> On Jun 27, 2014, at 5:22 AM, Luigi Santangelo  
> wrote:
> 
> Hi all,
> My system is a 64 core, with Debian 3.2.57 64 bit, GNU gcc 4.7, kernel Linux 
> 3.2.0 and OpenMPI 1.8.1.
> I developed an application to matching proteins files using OpenMP+OpenMPI. I 
> compiled souce code with -fopenmp flag, I set OMP_NUM_THREADS=4 then I ran 
> binary with mpiexec -np 16.
> When the program runs, the top command show me that only 16 core are used. If 
> I use the previous of OpenMPI (1.6.5) it works fine. Must I set anything in 
> the new version? Where I wrong?
> 
> Thanks in advance
> 
> Luigi
> 
> ___
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2014/06/24712.php


[OMPI users] OpenMPI 1.8.1 runs more OpenMP Threads on the same core

2014-06-27 Thread Luigi Santangelo
Hi all,
My system is a 64 core, with Debian 3.2.57 64 bit, GNU gcc 4.7, kernel
Linux 3.2.0 and OpenMPI 1.8.1.
I developed an application to matching proteins files using OpenMP+OpenMPI.
I compiled souce code with -fopenmp flag, I set OMP_NUM_THREADS=4 then I
ran binary with mpiexec -np 16.
When the program runs, the top command show me that only 16 core are used.
If I use the previous of OpenMPI (1.6.5) it works fine. Must I set anything
in the new version? Where I wrong?

Thanks in advance

Luigi