Re: [OMPI users] remote spawned process hangs at MPI_Init

2011-10-15 Thread Ralph Castain
On Oct 15, 2011, at 12:25 PM, dave fournier wrote: > OK, I found that if I inovke the master process > > with mpirun as in > > mpirun ./orange -master > > > Then the remote process is successful in the MPI_Init call. > I would like to avoid using mpirun if possible. It seems to > be

[OMPI users] remote spawned process hangs at MPI_Init

2011-10-15 Thread dave fournier
OK, I found that if I inovke the master process with mpirun as in mpirun ./orange -master Then the remote process is successful in the MPI_Init call. I would like to avoid using mpirun if possible. It seems to be responsible for setting up communication between the two machines in so

[OMPI users] remote spawned process hangs at MPI_Init

2011-10-15 Thread dave fournier
I am trying to add a host at run time and spawn a slave process. The slave process starts but hangs or crashes in MPI_Init(). Code for the slave process is #include int main(int argc,char * argv[]) { ofstream ofs("junk11"); ofs << "calling MPI_Init" << endl; int err=MPI_Init(&argc,&argv);