hi all I am trying to play with openmpi in a ubuntu 12.04 machine. I am installed openmpi 1.5 and test it with a simple program
#include <iostream> #include <mpi.h> int main(int argc, char *argv[]) { int numprocessors, rank, namelen; char processor_name[MPI_MAX_PROCESSOR_NAME]; MPI_Init(&argc, &argv); MPI_Comm_size(MPI_COMM_WORLD, &numprocessors); MPI_Comm_rank(MPI_COMM_WORLD, &rank); MPI_Get_processor_name(processor_name, &namelen); if ( rank == 0 ) { std::cout << "Processor name: " << processor_name << "\n"; std::cout << "master (" << rank << "/" << numprocessors << ")\n"; } else { std::cout << "slave (" << rank << "/" << numprocessors << ")\n"; } MPI_Finalize(); return 0; } $mpic++ -W -Wall test.cpp -o test $mpirun -np 4 test **************************************************************************** * Hwloc has encountered what looks like an error from the operating system. * * object intersection without inclusion! * Error occurred in topology.c line 594 * * Please report this error message to the hwloc user's mailing list, * along with the output from the hwloc-gather-topology.sh script. **************************************************************************** -------------------------------------------------------------------------- mpirun noticed that the job aborted, but has no info as to the process that caused that situation.