Re: [OMPI users] OPENMPI only recognize 4 cores of AWS EC2 machine

2015-05-24 Thread XingFENG
Thanks, Gilles On Sun, May 24, 2015 at 7:41 PM, Gilles Gouaillardet < gilles.gouaillar...@gmail.com> wrote: > yes, that is clearly suboptimal. > > the optimal option is something like -bind-to hwthreads > (I am afk so I cannot confirm this) > > Cheers, > > Gilles > > On Sunday, May 24, 2015, Xing

Re: [OMPI users] OPENMPI only recognize 4 cores of AWS EC2 machine

2015-05-24 Thread Gilles Gouaillardet
yes, that is clearly suboptimal. the optimal option is something like -bind-to hwthreads (I am afk so I cannot confirm this) Cheers, Gilles On Sunday, May 24, 2015, XingFENG wrote: > Hi, Gilles, > > Thanks very much for your respond. But if I oversubscribe, would the > performance be influenc

Re: [OMPI users] OPENMPI only recognize 4 cores of AWS EC2 machine

2015-05-24 Thread XingFENG
Hi, Gilles, Thanks very much for your respond. But if I oversubscribe, would the performance be influenced? On Sun, May 24, 2015 at 7:24 PM, Gilles Gouaillardet < gilles.gouaillar...@gmail.com> wrote: > Hi Xing, > > iirc, open MPI default behavior is to bind to cores (vs hyperthreads), > hence t

Re: [OMPI users] OPENMPI only recognize 4 cores of AWS EC2 machine

2015-05-24 Thread Gilles Gouaillardet
Hi Xing, iirc, open MPI default behavior is to bind to cores (vs hyperthreads), hence the error message. I cannot remember the option to bind to threads, but you can mpirun --oversubscribe if you are currently stuck Cheers, Gilles On Sunday, May 24, 2015, XingFENG wrote: > Hi, OPENMPI users,