I am writing a parallel program using Open MPI. I am running Snow Leopard 10.6.4 and I installed Open MPI through the homebrew package manager.
When I run my program using mpirun -np 8 ./test , each process reports that it has a rank of 0, and assumes that the total number of processes equal to 1, and 8 lines of the process rank: 0, total processes: 1 , will be issued to the console.
I know this is not a problem with the code, since the same code will compile and run as expected on some Ubuntu machines in my college computer lab. I checked the homebrew error debugger and no one reported a problem with the Open MPI package. I'm at a loss.
homebrew openmpi macos
aperiodic
source share