boost-mpi

Boost.MPI problem

Hello all, I'm working on an HPC. And on that HPC an old version of Boost was installed and that boost library doesn't have Boost.MPI. I requested from Admins to install it on the HPC. But they requested from me to install it on my home directory. So i installed both boost and boost.mpi on my home directory. Boost library seems to work ...

Unable to run OpenMPI across more than two machines

When attempting to run the first example in the boost::mpi tutorial, I was unable to run across more than two machines. Specifically, this seemed to run fine: mpirun -hostfile hostnames -np 4 boost1 with each hostname in hostnames as <node_name> slots=2 max_slots=2. But, when I increase the number of processes to 5, it just hangs. ...

How can I do an overlapping scatter using Boost.MPI?

I want to distribute a vector with overlapping elements. For example, if I had [1,2,3], I'd want [1,2] to get sent to one node, and [2,3] to get sent to another. I'm familiar with how to do this using MPI, but how would I do this using Boost::MPI? ...

Autoconf macro for Boost MPI?

I'm searching an autoconf macro to use in my configure.ac that checks for Boost MPI. It's not hard to find a couple of them on the Internet but none of the one I tried worked as expected. What ax_boost_mpi.m4 do you use? EDIT: I'll explain my requirement better. I need the macro to tell me if Boost MPI is available or not (defining HA...

Which kind of diagram for parallel code documentation?

I have some parallel code (implemented using MPI) that needs to be documented. I'd like to have a flow-diagram describing it's high-level strategy. What kind of diagram do you use to describe send, receive, broadcast, gather, reduction and other operations? (EDIT: I'm equally interested in Linux/LaTeX software to do them) ...

Multi-Core Programming. Boost's MPI, OpenMP, TBB, or something else?

Hello, I am totally a novice in Multi-Core Programming, but I do know how to program C++. Now, I am looking around for Multi-Core Programming library. I just want to give it a try, just for fun, and right now, I found 3 APIs, but I am not sure which one should I stick with. Right now, I see Boost's MPI, OpenMP and TBB. For anyone who h...

trying to build Boost MPI, but the lib files are not created. What's going on?

I am trying to run a program with Boost MPI, but the thing is I don't have the .lib. So I try to create one by following the instruction at http://www.boost.org/doc/libs/1_43_0/doc/html/mpi/getting_started.html#mpi.config The instruction says "For many users using LAM/MPI, MPICH, or OpenMPI, configuration is almost automatic", I got my...

Looking for mpic++

I am following instructions at http://www.boost.org/doc/libs/1_43_0/doc/html/mpi/getting_started.html#mpi.config trying to build Boost MPI .lib files, but I got one problem: I do not have mpic++. Looking at the MPI implementation files such as MPICH2 and Open MPI, I see no mpic++ included at all. Where can I find mpic++? ...

Boost::Serialization Mpi Sending array of user defined types

I want to send my Array class using boost Mpi template<class T> class Array { private: int size; T* data; public: // constructors + other stuff }; Here T can be any built in type or user defined type. Suppose I have a class complex struct complex { std::vector<double> real_imag; // contain two elements }; So the question i...

using OpenMPI or MPICH2 with Boost MPI using Win and Linux machines together

hi All These days I am approaching MPI world. I am willing to use Boost MPI libraries probably with OpenMPI or MPICH2 ( even if with MPICH2 still I am not sure whether it will work fine because of some post I read around ). My real question is the following: with these 2 libraries and Boost MPI on top of it, is it possible to combine r...

Boost.MPI: What's received isn't what was sent!

I am relatively new to using Boost MPI. I have got the libraries installed, the code compiles, but I am getting a very odd error - some integer data received by the slave nodes is not what was sent by the master. What is going on? I am using boost version 1.42.0, compiling the code using mpic++ (which wraps g++ on one cluster and icpc o...