[OMPI users] Several Bcast calls in a loop causing the code to hang

2015-02-18 Thread Sachin Krishnan
Hello, I am new to MPI and also this list. I wrote an MPI code with several MPI_Bcast calls in a loop. My code was getting stuck at random points, ie it was not systematic. After a few hours of debugging and googling, I found that the issue may be with the several MPI_Bcast calls in a loop. I

[OMPI users] Help on getting CMA works

2015-02-18 Thread Eric Chamberland
Hi, I have configured with "--with-cma" on 2 differents OS (RedHat 6.6 and OpenSuse 12.3), but in both case, I have the following error when launching a simple mpi_hello_world.c example: /opt/openmpi-1.8.4_cma/bin/mpiexec --mca btl_sm_use_cma 1 -np 2 /tmp/hw

Re: [OMPI users] Help on getting CMA works

2015-02-18 Thread Nathan Hjelm
I recommend using vader for CMA. It has code to get around the ptrace setting. Run with mca_btl_vader_single_copy_mechanism cma (should be the default). -Nathan On Wed, Feb 18, 2015 at 02:56:01PM -0500, Eric Chamberland wrote: > Hi, > > I have configured with "--with-cma" on 2 differents OS

Re: [OMPI users] Several Bcast calls in a loop causing the code to hang

2015-02-18 Thread Joshua Ladd
Sachin, Can you, please, provide a command line? Additional information about your system could be helpful also. Josh On Wed, Feb 18, 2015 at 3:43 AM, Sachin Krishnan wrote: > Hello, > > I am new to MPI and also this list. > I wrote an MPI code with several MPI_Bcast calls

Re: [OMPI users] Help on getting CMA works

2015-02-18 Thread Éric Chamberland
Le 2015-02-18 15:14, Nathan Hjelm a écrit : I recommend using vader for CMA. It has code to get around the ptrace setting. Run with mca_btl_vader_single_copy_mechanism cma (should be the default). Ok, I tried it, but it gives exactly the same error message! Eric -Nathan On Wed, Feb 18,