
6 May
2011
6 May
'11
2:11 p.m.
Hello. 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 <boost/mpi.hpp> 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). Sometimes the program hangs or creates the message "adress not mapped" with "Segmentation fault". I have recompiled OpenMPI without threads and mpithreads and it seems, that the errors are gone. Is this a problem with OpenMPI or Boost MPI? Phil