Hi Pavan,
 
Here is the code attached. Let me know if you think the code is incorrect.
 
I used MPI-3.0.4 with sock device.
 
Compile command : 
 
export MPI_ROOT = /home/hroy/local/mpich-3.0.4/linux_x86_64
#export MPI_ROOT = /home/hroy/local/mpich-3.0.4.nemesis/linux_x86_64
export MPI_BIN = ${MPI_ROOT}/bin
export MPI_LIB = ${MPI_ROOT}/lib
export INCLUDE_DIR = ${MPI_ROOT}/include
compile: 
        g++ -g  main.cpp  -I ${INCLUDE_DIR} ${MPI_LIB}/libmpich.a ${MPI_LIB}/libmpl.a -lpthread 
 
 
 
Thanks,
Hirak
 
Can you send us a simple program that reproduces the issue?
 
  — Pavan
 
On Oct 8, 2014, at 2:54 PM, Roy, Hirak <Hirak_Roy at mentor.com> wrote:
 
> Hi Pavan,
>  
> I even tried duping the communicator (MPI_COMM_SELF à DUP1, DUP2) before I do any kind of MPI calls. 
> Still it does not work.
>  
> Thanks,
> Hirak
>