Re: [OMPI devel] Question about barrier()

2010-11-02 Thread Jeff Squyres
On Nov 2, 2010, at 10:11 AM, wrote: > Yes, I am calling MPI_Init_thread() with MPI_THREAD_MULTIPLE. And I have > enabled thread and mpi_threads while configuring OpenMPI. BTW, I am using > OpenMPI 1.4.2. > > It will be helpful to know if this is a design constraint or some > implementation

Re: [OMPI devel] Question about barrier()

2010-11-02 Thread ananda.mudar
, PMP Senior Technical Architect Wipro Technologies Ph: 972 765 8093 ananda.mu...@wipro.com Subject: Re: [OMPI devel] Question about barrier() From: Jeff Squyres (jsquyres_at_[hidden]) List-Post: devel@lists.open-mpi.org Date: 2010-11-02 09:53:53 * Previous message: Jeff Squyres: &qu

Re: [OMPI devel] Question about barrier()

2010-11-02 Thread Jeff Squyres
I'd have to check to be sure, but I'm pretty sure that it's because we've activated lots of locks that aren't there in single-threaded mode. I say this because I *assume* you mean that when you use MPI_INIT_THREAD, you mean that you're actually calling it with MPI_THREAD_MULTIPLE. Calling MPI_

[OMPI devel] Question about barrier()

2010-11-01 Thread ananda.mudar
Hi I have the following small program where the rank-0 process does sleep and then all the processes perform barrier(). #include "mpi.h" #include int main(int argc, char *argv[]) { int rank, nprocs; MPI_Init(&argc,&argv); MPI_Comm_size(MPI_COMM_WORLD,&nprocs); MPI_Com