|
Boost Users : |
Subject: [Boost-users] MPI with threads - adress not mapped problem
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2011-05-06 10:11:01
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
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