[OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-16 Thread Sofia Aparicio Secanellas
Hello, I am new using MPI. I want to run a simple program (I enclose the program) in 2 different computers. I have installed MPI in both computers. I have compiled the program using: mpiCC -o PruebaSumaParalela.out PruebaSumaParalela.cpp I have copied the executable PruebaSumaParalela.out to

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-16 Thread Gus Correa
Hello Sofia and list I am not a C++ person, I must say. However, I noticed that you wrote the program in C++, compiled it with the mpiCC (C++) compiler wrapper, but your MPI calls are written with the MPI C binding syntax, not the MPI C++ binding syntax. E.g. : MPI_Send(&sum,1,MPI_INT,0,1,MPI_C

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-17 Thread Sofia Aparicio Secanellas
PI Users" Sent: Tuesday, September 16, 2008 9:42 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv Hello Sofia and list I am not a C++ person, I must say. However, I noticed that you wrote the program in C++, compiled it with the mpiCC (C++) compiler wrapper, but your MPI ca

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-17 Thread Terry Dontje
MPI are you using, on what type of machine, using which OS? --td Date: Tue, 16 Sep 2008 18:15:59 +0200 From: "Sofia Aparicio Secanellas" Subject: [OMPI users] Problem with MPI_Send and MPI_Recv To: Message-ID: Content-Type: text/plain; charset="iso-8859-1" Hello, I am new

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-17 Thread Sofia Aparicio Secanellas
i686 GNU/Linux Sofia - Original Message - From: "Terry Dontje" To: Sent: Wednesday, September 17, 2008 1:24 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv Sofia, I took your program and actually ran it successfully on my systems using Open MPI r19400.

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-17 Thread Sofia Aparicio Secanellas
/local ./PruebaSumaParalela.out Thanks again. Sofia - Original Message - From: "Terry Dontje" To: Sent: Wednesday, September 17, 2008 1:24 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv Sofia, I took your program and actually ran it successfully on

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-17 Thread Terry Dontje
Date: Wed, 17 Sep 2008 16:23:59 +0200 From: "Sofia Aparicio Secanellas" Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv To: "Open MPI Users" Message-ID: <0625EEFB84E04647A1930A963A8DF7E3@aparicio1> Content-Type: text/plain; format=flowed; charset="

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-17 Thread Jeff Squyres
(preferably in the same filesystem location) You *could* be seeing differences between libc on each node, etc. On Sep 17, 2008, at 11:52 AM, Terry Dontje wrote: Date: Wed, 17 Sep 2008 16:23:59 +0200 From: "Sofia Aparicio Secanellas" Subject: Re: [OMPI users] Problem with MPI_Send an

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-18 Thread Sofia Aparicio Secanellas
Hello Terry, Yes, "edu" is the user and 10.4.5.126 is the IP address. Because both computers have different usernames, I think that I should write the username otherwise it does not work. In fact, on the computer 10.4.5.123 I write: mpirun -np 2 --host 10.4.5.123,edu@10.4.5.126 --prefix /usr/

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-18 Thread Sofia Aparicio Secanellas
From: "Terry Dontje" To: Sent: Wednesday, September 17, 2008 5:52 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv Date: Wed, 17 Sep 2008 16:23:59 +0200 From: "Sofia Aparicio Secanellas" Subject: Re: [OMPI users] Problem with MPI_Send and M

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-18 Thread Terry Dontje
It might also be interesting to see the result of "ifconfig -a" on both of your machines. --td Date: Thu, 18 Sep 2008 10:19:37 +0200 From: "Sofia Aparicio Secanellas" Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv To: "Open MPI Users" Message

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-18 Thread Sofia Aparicio Secanellas
oblem with MPI_Send and MPI_Recv It might also be interesting to see the result of "ifconfig -a" on both of your machines. --td Date: Thu, 18 Sep 2008 10:19:37 +0200 From: "Sofia Aparicio Secanellas" Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv To

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-18 Thread Terry Dontje
3,edu@10.4.5.126 --mca mpi_preconnect_all 1 --prefix /usr/local -mca btl self,tcp -mca btl_tcp_if_include eth1 ./PruebaSumaParalela.out --td List-Post: users@lists.open-mpi.org Date: Thu, 18 Sep 2008 13:12:46 +0200 From: "Sofia Aparicio Secanellas" Subject: Re: [OMPI users] Problem wi

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-19 Thread Sofia Aparicio Secanellas
Thanks Terry, I will install 1.2.7. Sofia - Original Message - From: "Terry Dontje" To: Sent: Thursday, September 18, 2008 7:31 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv Turns out you debugged the mpirun I was actually wanting you to attach to yo

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-19 Thread Sofia Aparicio Secanellas
results obtained on every computer for every "./PruebaSumaParalela.out". Thank you very much. Sofia ----- Original Message - From: "Terry Dontje" To: Sent: Thursday, September 18, 2008 7:31 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv Turns out

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-19 Thread Terry Dontje
routing problem since you are able to reach each node via ssh. Is there someone else on the list that might want to lend a hand here? I feel like I am missing something obvious going on here. --td Date: Fri, 19 Sep 2008 16:09:11 +0200 From: "Sofia Aparicio Secanellas" Subjec

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-19 Thread Terry Dontje
am missing something obvious going on here. --td Date: Fri, 19 Sep 2008 16:09:11 +0200 From: "Sofia Aparicio Secanellas" Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv To: "Open MPI Users" Message-ID: <1BBF50FE29F743B5829CC3785F47CADD@aparicio1> C

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-22 Thread Sofia Aparicio Secanellas
eth1 ./PruebaSumaParalela.out I enclose you the results. Thank you. Sofia - Original Message - From: "Terry Dontje" To: Sent: Friday, September 19, 2008 7:54 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv Hello Sofia, After further reflection I won

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-23 Thread Terry Dontje
--td Date: Mon, 22 Sep 2008 10:49:41 +0200 From: "Sofia Aparicio Secanellas" Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv To: "Open MPI Users" Message-ID: <2F607CC2B43A422B80CEBBD540BFFE8B@aparicio1> Content-Type: text/plain; charset="iso-8859-1&quo

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-23 Thread Terry Dontje
don't have a firewall I am not sure what is then blocking the connection from happening. Either the address somehow is being mashed up or something else. --td Date: Mon, 22 Sep 2008 10:49:41 +0200 From: "Sofia Aparicio Secanellas" Subject: Re: [OMPI users] Problem with MPI_Se

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-23 Thread Sofia Aparicio Secanellas
Hello Terry, Here you can find the files. Thank you very much. Sofia - Original Message - From: "Terry Dontje" To: Sent: Tuesday, September 23, 2008 4:23 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv Hello Sofia, After talking with another OMPI memb

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-23 Thread Terry Dontje
@lists.open-mpi.org Date: Tue, 23 Sep 2008 17:05:22 +0200 From: "Sofia Aparicio Secanellas" Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv To: "Open MPI Users" Message-ID: <34D2F769A7C946BF915A828A9CD7F3CC@aparicio1> Content-Type: text/plain; charset="iso-

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-24 Thread Sofia Aparicio Secanellas
Hello Terry, I obtain the hostnames of both computers: pichurra hpl1-linux Thank you. Sofia - Original Message - From: "Terry Dontje" To: Sent: Tuesday, September 23, 2008 6:24 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv Hello Sofia, Very puzzl

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-24 Thread Jeff Squyres
AM, Sofia Aparicio Secanellas wrote: Hello Terry, I obtain the hostnames of both computers: pichurra hpl1-linux Thank you. Sofia - Original Message - From: "Terry Dontje" > To: Sent: Tuesday, September 23, 2008 6:24 PM Subject: Re: [OMPI users] Problem with MPI_Sen

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-24 Thread Sofia Aparicio Secanellas
No , I do not have any ethernet device aliases. Thank you, Sofia - Original Message - From: "Jeff Squyres" To: "Open MPI Users" Sent: Wednesday, September 24, 2008 2:33 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv You don't happen to hav

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-25 Thread Sofia Aparicio Secanellas
5:53 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv No , I do not have any ethernet device aliases. Thank you, Sofia - Original Message - From: "Jeff Squyres" To: "Open MPI Users" Sent: Wednesday, September 24, 2008 2:33 PM Subject: Re: [OMPI u

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-30 Thread Jeff Squyres
rom: "Sofia Aparicio Secanellas" > To: "Open MPI Users" Sent: Wednesday, September 24, 2008 5:53 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv No , I do not have any ethernet device aliases. Thank you, Sofia - Original Message - From: "Je

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-30 Thread Sofia Aparicio Secanellas
not understand what happens. Sofia - Original Message - From: "Sofia Aparicio Secanellas" > To: "Open MPI Users" Sent: Wednesday, September 24, 2008 5:53 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv No , I do not have any ethernet device alia

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-09-30 Thread Jeff Squyres
On Sep 30, 2008, at 12:02 PM, Sofia Aparicio Secanellas wrote: 1. From prior mails, you do not seem to have iptables running to block any ports -- is there any other port blocking software running, perchance? I do not think so. What can I do to be sure that I do not have any other port bl

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-10-01 Thread Sofia Aparicio Secanellas
[OMPI users] Problem with MPI_Send and MPI_Recv On Sep 30, 2008, at 12:02 PM, Sofia Aparicio Secanellas wrote: 1. From prior mails, you do not seem to have iptables running to block any ports -- is there any other port blocking software running, perchance? I do not think so. What can I do

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-10-01 Thread saparicio
The problem is the WiFi connection! We were connecting the computers using WiFi, we have changed to a cable connection and the program is working. It seems that the port that MPI_Send and MPI_Recv use is closed. Do you know which port use these commands? Thank you, Sofia > On Sep 30, 2008, at

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-10-01 Thread Sofia Aparicio Secanellas
you!!! Sofia - Original Message - From: "Jeff Squyres" To: "Open MPI Users" Sent: Tuesday, September 30, 2008 9:11 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv On Sep 30, 2008, at 12:02 PM, Sofia Aparicio Secanellas wrote: 1. From prior mails

Re: [OMPI users] Problem with MPI_Send and MPI_Recv

2008-10-01 Thread Jeff Squyres
o: "Open MPI Users" Sent: Tuesday, September 30, 2008 9:11 PM Subject: Re: [OMPI users] Problem with MPI_Send and MPI_Recv On Sep 30, 2008, at 12:02 PM, Sofia Aparicio Secanellas wrote: 1. From prior mails, you do not seem to have iptables running to block any ports -- is there any othe