views:

120

answers:

0

Hello,

I am trying to write a program which runs using OpenMPI on our cluster and communicates the results using TCP/IP to another machine which has a network connection to the cluster. I am using Boost.Asio for the TCP/IP connection. The problem I am facing is that if I remove the OpenMPI from the executable and compile it with g++ it works fine. But when I add the MPI code to it and compile with mpicxx and execute using mpirun, it does a connection time out in the call to socket.connect(). Any idea what might be going wrong ?