Hi,
On Fri, May 6, 2011 at 4:11 PM, Kraus Philipp
I'm using Boost 1.46.0 with OpenMPI 1.5.3 under Gentoo x64. I have compiled OpenMPI with thread and mpithread option and Boost with MPI support. A little testprogram with:
#include
namespace mpi = boost::mpi; int main(int argc, char* argv[]) { mpi::environment loMPIenv(argc, argv); mpi::communicator loMPICom;
return 0; }
crashes alway if I run it with "mpiexec -np" (without mpiexec it runs).
I've tested your program with: * OpenMPI 1.4.1 (from the Ubuntu 10.10 package `libopenmpi-dev` version 1.4.1-3ubuntu1), Boost 1.46.0 (compiled by myself) on Ubuntu 10.10 64-bit with the GCC 4.4.3 compiler; * OpenMPI 1.4.3a1r23323, Boost 1.45.0 (both compiled by myself) on Rocks 5.2 64-bit with the GCC 4.1.2 compiler; In either case, the program runs correctly, whatever the number I write after "mpirun -np". I'd check whether there is any compilation mismatch between OMPI and Boost, check again threads support, etc. Best regards, Riccardo