Re: [OMPI users] failure to launch MPMD program on win32 w 1.4.3
Hi Hicham, I've had this issue with -np 3 : -np 3 but not with -np 2: -np 2 or -np 1: -np 4 or other combinations. I've also rebuilt from vs2008 with the libs advapi32.lib Ws2_32.lib shlwapi.lib as visible in the text file: share\openmpi\mpic++.exe-wrapper-data.txt, and the problem seemed to stop happening. so now it is working. Great! But I don't see the cause of the problem. If it's missing the linking libraries, the compiler should already complain at linking time. I assume I will be able to do this on several windows boxes? Do they need to be all 32bit or 64bit or can I mix? Yes, you can mix 32 and 64 bit, but you have to take care of the executables on each machine. And for running on multiple windows boxes, please refer to the windows readme file. In order to simplify the WMI configuration process, you may also use the small tool I attached for configure users (change the file extension to .exe): Syntax: wmi-config [] ... For example: wmi-config add LOCAL_COMPUTER\user wmi-config add DOMAIN1\user1 DOMAIN2\user2 wmi-config del DOMAIN1\user1 Regards, Shiqing -- -- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart wmi-config.ex_ Description: Binary data
Re: [OMPI users] failure to launch MPMD program on win32 w 1.4.3
> -Original Message- > From: Shiqing Fan [mailto:f...@hlrs.de] > Sent: 30 November 2010 23:39 > To: Open MPI Users > Cc: Hicham Mouline; Rainer Keller > Subject: Re: [OMPI users] failure to launch MPMD program on win32 w > 1.4.3 > > Hi, > > I don't have boost on my Windows, so I made a very similar program just > using MPI, and everything works just fine for me: > > D:\work\OpenMPI\tests\CXX>more hello.cpp > > # include "mpi.h" > > using namespace std; > > int main ( int argc, char *argv[] ) > { >int rank, size; > >MPI::Init ( argc, argv ); >size = MPI::COMM_WORLD.Get_size ( ); >rank = MPI::COMM_WORLD.Get_rank ( ); > >printf("Process # %d \n", rank); > >MPI::Finalize ( ); >return 0; > } > > > D:\work\OpenMPI\tests\CXX>mpirun -np 3 hello.exe : -np 3 hello.exe > Process # 2 > Process # 4 > Process # 0 > Process # 3 > Process # 5 > Process # 1 > > > May be something related to boost? > > > Regards, > Shiqing > I've had this issue with -np 3 : -np 3 but not with -np 2: -np 2 or -np 1: -np 4 or other combinations. I've also rebuilt from vs2008 with the libs advapi32.lib Ws2_32.lib shlwapi.lib as visible in the text file: share\openmpi\mpic++.exe-wrapper-data.txt, and the problem seemed to stop happening. so now it is working. I assume I will be able to do this on several windows boxes? Do they need to be all 32bit or 64bit or can I mix? regards,
Re: [OMPI users] failure to launch MPMD program on win32 w 1.4.3
Hi, I don't have boost on my Windows, so I made a very similar program just using MPI, and everything works just fine for me: D:\work\OpenMPI\tests\CXX>more hello.cpp # include "mpi.h" using namespace std; int main ( int argc, char *argv[] ) { int rank, size; MPI::Init ( argc, argv ); size = MPI::COMM_WORLD.Get_size ( ); rank = MPI::COMM_WORLD.Get_rank ( ); printf("Process # %d \n", rank); MPI::Finalize ( ); return 0; } D:\work\OpenMPI\tests\CXX>mpirun -np 3 hello.exe : -np 3 hello.exe Process # 2 Process # 4 Process # 0 Process # 3 Process # 5 Process # 1 May be something related to boost? Regards, Shiqing On 2010-11-30 12:05 PM, Hicham Mouline wrote: 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 #include 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, ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- -- Shiqing Fan http://www.hlrs.de/people/fan High Performance Computing Tel.: +49 711 685 87234 Center Stuttgart (HLRS)Fax.: +49 711 685 65832 Address:Allmandring 30 email: f...@hlrs.de 70569 Stuttgart
Re: [OMPI users] failure to launch MPMD program on win32 w 1.4.3
v1.4.3) MCA plm: process (MCA v2.0, API v2.0, Component v1.4.3) MCA errmgr: default (MCA v2.0, API v2.0, Component v1.4.3) MCA ess: env (MCA v2.0, API v2.0, Component v1.4.3) MCA ess: hnp (MCA v2.0, API v2.0, Component v1.4.3) MCA ess: singleton (MCA v2.0, API v2.0, Component v1.4.3) MCA ess: tool (MCA v2.0, API v2.0, Component v1.4.3) MCA grpcomm: basic (MCA v2.0, API v2.0, Component v1.4.3) help is appreciated, regards, -Original Message- From: "Ralph Castain" [r...@open-mpi.org] List-Post: users@lists.open-mpi.org Date: 30/11/2010 02:47 PM To: "Open MPI Users" Subject: Re: [OMPI users] failure to launch MPMD program on win32 w 1.4.3 It truly does help to know what version of OMPI you are using - otherwise, there is little we can do to help On Nov 30, 2010, at 4:05 AM, Hicham Mouline wrote: > 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 > #include > > 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,
Re: [OMPI users] failure to launch MPMD program on win32 w 1.4.3
It truly does help to know what version of OMPI you are using - otherwise, there is little we can do to help On Nov 30, 2010, at 4:05 AM, Hicham Mouline wrote: > 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 > #include > > 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, > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users
[OMPI users] failure to launch MPMD program on win32 w 1.4.3
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 #include 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,