Re: [OMPI users] Open MPI:Problem with 64-bit openMPI andintel compiler

2009-07-24 Thread Jeff Squyres
On Jul 23, 2009, at 11:14 PM, Ralph Castain wrote: 3. get a multi-node allocation and run "pbsdsh echo $LD_LIBRARY_PATH" and see what libs you are defaulting to on the other nodes. Be careful with this one; you want to ensure that your local shell doesn't expand $LD_LIBRARY_PATH and simply

Re: [OMPI users] Open MPI:Problem with 64-bit openMPI andintel compiler

2009-07-24 Thread Ralph Castain
Good point. Other thing you might consider (though it is unlikely to be part of this problem) is upgrading to 1.3.3. It probably isn't a good idea to be using a release candidate for anything serious. On Jul 24, 2009, at 5:21 AM, Jeff Squyres wrote: On Jul 23, 2009, at 11:14 PM, Ralph Ca

Re: [OMPI users] Open MPI:Problem with 64-bit openMPIandintel compiler

2009-07-24 Thread jimkress_58
You can avoid the "library confusion problem" by building 64 bit and 32 bit version of openMPI in two different directories and then use mpi-selector (on your head and compute nodes) to switch between the two. Just my $0.02 Jim -Original Message- From: users-boun...@open-mpi.org [mailto:

[OMPI users] Missmatch between sent and recieved data

2009-07-24 Thread Alexey Sokolov
Hi I'm sorry if the answer to my question is very simple, but I'm really confused with this situation. I got a program that now contains 1 master and 1 slave processes. Master process sends few similar chars to the slave process with this: for (unsigned i = 0; i < SomeVariable; i++) {

Re: [OMPI users] Missmatch between sent and recieved data

2009-07-24 Thread Dorian Krause
Hi, you do not send the trailing '0' which is used to determine the stringlength. I assume that chdata[i] has at least length 5 (otherwise you overrun your memory). Replace the "4" by "5" in MPI_Isend and MPI_Recv and everything should work (If I get the problem right). Dorian. Alexey Soko

Re: [OMPI users] Receiving an unknown number of messages

2009-07-24 Thread Shaun Jackman
Eugene Loh wrote: Shaun Jackman wrote: Eugene Loh wrote: Shaun Jackman wrote: For my MPI application, each process reads a file and for each line sends a message (MPI_Send) to one of the other processes determined by the contents of that line. Each process posts a single MPI_Irecv and uses

Re: [OMPI users] Receiving an unknown number of messages

2009-07-24 Thread Eugene Loh
Shaun Jackman wrote: 2 calls MPI_Test. No message is waiting, so 2 decides to send. 2 sends to 0 and does not block (0 has one MPI_Irecv posted) 3 calls MPI_Test. No message is waiting, so 3 decides to send. 3 sends to 1 and does not block (1 has one MPI_Irecv posted) 0 calls MPI_Test. No messag

Re: [OMPI users] Receiving an unknown number of messages

2009-07-24 Thread Shaun Jackman
Hi Prasadcse, At each iteration, each process chooses one other process to send to (based on the line it has just read from a file). If we send the number of packets to expect in advance, we then need to send an `expect zero packets from me' message to all the processes that we don't have a m

Re: [OMPI users] Receiving an unknown number of messages

2009-07-24 Thread Shaun Jackman
Eugene Loh wrote: Shaun Jackman wrote: 2 calls MPI_Test. No message is waiting, so 2 decides to send. 2 sends to 0 and does not block (0 has one MPI_Irecv posted) 3 calls MPI_Test. No message is waiting, so 3 decides to send. 3 sends to 1 and does not block (1 has one MPI_Irecv posted) 0 calls