PTP Communication problems when using a single process

Eylul Ince <[email protected]> Thu, 18 Mar 2004 02:50:35 -0800 (PST)
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
 
Hi,

I am confused about the the following. Any help'd be
appreciated.

I have a very simple program:

##########################
int id, ntasks, tag=100;
int msg[2];	
  
MPI::Init(argc, argv);
ntasks = MPI::COMM_WORLD.Get_size();	
id = MPI::COMM_WORLD.Get_rank();	

msg[0] = id;	
msg[1] = ntasks;

MPI::COMM_WORLD.Send(msg, 2, MPI::INT, 0, tag);
MPI::COMM_WORLD.Recv(msg, 2, MPI::INT, 0, tag);
  
MPI::Finalize();
###############################

The problem is that the same process is both sender
and receiver (I know that it does not make sense too
much, but I need to test something with this code). 

If I use ethernet (ch_p4), it works fine.  But running
it on myri core-dumps during receiving.

Does anybody have an idea what's happening?

Thanks in advance,

Eylul



__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com