Hello,
 
I have successfully run 
 
mpirun -np 3 .\test.exe
 
when I try MPMP
 
mpirun -np 3 .\test.exe : -np 3 .\test2.exe
 
where test and test2 are identical (just for a trial), I get this error:
 
[hostname:04960] [[47427,1],0]-[[47427,0],0] mca_oob_tcp_peer_send_blocking: 
send() failed: Unknown error (10057)
[hostname:04960] [[47427,1],0] routed:binomial: Connection to lifeline 
[[47427,0],0] lost

Granted this uses boost::mpi, but it worked for SPMD, and the source for the 
main function is trivial:

#include <iostream>
#include <boost/mpi.hpp>

namespace mpi = boost::mpi;

int main(int argc, char* argv[])
{
  mpi::environment env(argc, argv);
  mpi::communicator world;

  std::cout << "Process #" << world.rank() << " says "<< std::endl;
  return 0;
}


as far as I understand, there should be 1 world with 6 processes, ranking 0 1 2 
,  3 4 5

regards,

Reply via email to