[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);

Re: [OMPI users] MPI_Isend delay

2011-07-14 Thread dave fournier
On 11-07-14 06:37 PM, Jeff Squyres wrote: OK, Thanks, that is exactly what I needed to know. Dave On Jul 14, 2011, at 8:33 PM, dave fournier wrote: Sorry I should have said it doesn't get sent until the *master* encounters an MPI_recv. Then suddenly the slave finally gets the me

Re: [OMPI users] MPI_Isend delay

2011-07-14 Thread dave fournier
2.) I have attached to it with gdb previously to monitor the behaviour. On Jul 14, 2011, at 5:50 PM, dave fournier wrote: I have a master-slave setup. I have noticed that when I send a message from the master to the slave processes using MPI_Isend it never gets sent until I encounter an MPI_recv in

[OMPI users] MPI_Isend delay

2011-07-14 Thread dave fournier
I have a master-slave setup. I have noticed that when I send a message from the master to the slave processes using MPI_Isend it never gets sent until I encounter an MPI_recv in the master process. As a result rhe slave processes are wasting time waiting for the message. If I use MPI_Send inst