|
Boost Users : |
Subject: Re: [Boost-users] [Boost.Asio] Compiling Boost.Asio with OpenMPI
From: Matthias Troyer (troyer_at_[hidden])
Date: 2010-02-15 09:25:34
Have you checked which compiler, compiler and linker options the mpicxx script uses? Maybe one of those is causing your problems
Matthias
On 15 Feb 2010, at 01:41, vibhor aggarwal wrote:
> Hi,
>
> I have tried compiling with mpicxx and no MPI code in it. It compiles fine, but I still have to use mpirun to executed the generated binary and it does a connection time out.
>
> Kind Regards
> Vibhor
>
> From: Matthias Troyer <troyer_at_[hidden]>
> To: boost-users_at_[hidden]
> Sent: Mon, 15 February, 2010 12:44:57 AM
> Subject: Re: [Boost-users] [Boost.Asio] Compiling Boost.Asio with OpenMPI
>
>
> On 14 Feb 2010, at 06:33, vibhor aggarwal wrote:
>
> > 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. If I remove the MPI code from the executable and compile it with g++, it connects to the remote machine without a problem. But when I add a simple MPI code to it and compile with mpicxx and execute using mpirun, it generates a connection time out in the call to socket.connect(). Any idea what might be going wrong ?
>
> Have you tried compiling it with mpicxx without adding any MPI code to it?
>
> Matthias
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
> Your Mail works best with the New Yahoo Optimized IE8. Get it NOW!._______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net