On May 26, 2006, at 11:31 PM, imran shaik wrote:

I have installed openMPI alpha 7 release. I created an MPI programs with pthreads. I ran with just 6 process, each thread making MPI calls concurrently with main thread. Things work fine . I use a TCP network.

Some times i get a strange error message.

<snip>

Sometimes i get this error message, and sometimes not. I can say in a run of 7 i get once. But i get the output properly and the program works fine. I just wanted to know why that occured?

We just released alpha 8, which should include a fix for a problem that sounds very similar to what you are seeing. Can you try upgrading and see if that solves your problem?

Another one, i tried to get verbose output from "mpirun", but couldnt. Even "mpiexec". I was using the same command as mpirun -v -np 6 myprogram in lam, i used to get the verbose saying which process is running where. Here nothing happens.

What is the problem? Otherwise how can i know what process is running on what node? Any suggestions??

We don't currently have a good way of dealing with this. You can get lots of debugging information from the -d option to mpirun, but it would be difficult to get exactly what you are looking for from the debugging output.

Your best bet would probably be to use gethostname() and MPI_Comm_rank () inside your MPI application and print the results to stdout / stderr.


Brian

--
  Brian Barrett
  Open MPI developer
  http://www.open-mpi.org/


Reply via email to