Boost logo

Boost Users :

Subject: [Boost-users] FW: BGL, MPI
From: Neiderer, Andrew M USA CIV (US) (andrew.m.neiderer.civ_at_[hidden])
Date: 2011-11-30 08:57:49


With lots of help I think I am getting close to a "hello, world" BGL, MPI example to execute.

Not sure about the error I am getting from execution

from libs/mpi/example on symmetric multiprocessing (SMP) cluster of compute nodes,

  1. compilation/translation of hello_world.cpp, works :-)

      $ mpiCC -I ../boost_1_48_0 \

                   -I ../boost_1_48_0/boost/mpi \

                   -I ../boost_1_48_0/stage/lib \

                   -lboost_mpi \

                   -lboost_thread \

                   -lboost_regex \

                   -lboost_graph -lboost_graph_parallel \

                   -lboost_serialization \

                   -lpthread \

                   hello_world.cpp -o hello_world

  2. execution, error :-(

      $ mpirun -np 2 ./hello_word

      *** Process received signal

      *** Signal: Segmentation fault (11)

      *** Signal code: Address not mapped (1)

      *** Failing at address (nil)

      *** /lib64/libpthread.so.0

      *** mpirun noticed process rank 0 with PID 16684

Maybe someone has seen this before and knows of a fix.

Thank you.

Andrew M. Neiderer

US Army Research Lab



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