Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Boost.MPI on Ubuntu 12.04
- g++ test.cpp -I/usr/include/mpich2 -L/usr/lib -lboost_mpi -lboost_serialization
- mpiexec -n 2 ./a.out
- g++ test.cpp -L/usr/lib -lboost_mpi -lboost_serialization -lmpi -I/usr/include/openmpi
- /usr/bin/ld: /tmp/ccJ5ezv7.o: undefined reference to symbol 'ompi_op_set_cxx_callback'
- /usr/bin/ld: note: 'ompi_op_set_cxx_callback' is defined in DSO /usr/lib/libmpi.so.0 so try adding it to the linker command line
- /usr/lib/libmpi.so.0: could not read symbols: Invalid operation
- mpic++ test.cpp -lboost_mpi -lboost_serialization
- /usr/lib/libmpich.so: undefined reference to `MPL_trid'
- mpic++ test.cpp -lboost_mpi -lboost_serialization -lmpi
- Fatal error in PMPI_Errhandler_set: Invalid communicator, error stack:
- PMPI_Errhandler_set(118): MPI_Errhandler_set(comm=0x370500, errh=0x370be0) failed
- PMPI_Errhandler_set(70).: Invalid communicator
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement