> -----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,