Re: [OMPI users] openMPI configure/InstallingproblemonMacwithgnu-gcc-4.4.3 / gnu-gcc-4.5

2010-04-20 Thread Baowei Liu
Thank you so much, Jeff. It works!!! I followed instructions in INSTALL file to make a new directory ./build. But when I configured it in this new directory, I got "permission denied" error. That's why I used "sudo". Now I try to configure it directly under the openmpi-X.Y.Z directory: ./config

Re: [OMPI users] unresolved symbol mca_base_param_reg_int

2010-04-20 Thread Jeff Squyres
On Apr 20, 2010, at 6:16 PM, Nev wrote: > Hi Jeff, > I did the install to the "same place". I always use /opt/openmpi, the > procedure I use when building is > configure --prefix=/opt/openmpi ... > rm -r /opt/openmpi/* > make clean > make all > make install > is this sufficient to un-install previ

Re: [OMPI users] openMPI configure/InstallingproblemonMacwithgnu-gcc-4.4.3 / gnu-gcc-4.5

2010-04-20 Thread Jeff Squyres
On Apr 20, 2010, at 7:25 PM, Baowei Liu wrote: > Thanks a lot, Jeff. I'll try what you told me and let you know the result. Someone else pointed out to me off-list that you're using "sudo" for make all -- do you need to? Most people build as an unprivileged user and then only use "sudo" for "m

Re: [OMPI users] openMPI configure/Installing problemonMacwithgnu-gcc-4.4.3 / gnu-gcc-4.5

2010-04-20 Thread Baowei Liu
Thanks a lot, Jeff. I'll try what you told me and let you know the result. On Tue, Apr 20, 2010 at 2:03 PM, Jeff Squyres wrote: > On Apr 19, 2010, at 12:08 PM, Baowei Liu wrote: > > > Sorry I didn't give you such details in my first email. I tried what > you said--the tarball attached to thi

Re: [OMPI users] OS X - Can't find the absoft directory

2010-04-20 Thread Paul Cizmas
Is it possible to have two openmpi-s on the same computer? I have openmpi 1.3.2 working fine with gfortran but I cannot build openmpi 1.4.1 with Absoft - I get this message from libtool: /bin/sh ../../../libtool --mode=compile /Applications/Absoft11.0/bin/ f90 -I../../../ompi/include -I..

Re: [OMPI users] unresolved symbol mca_base_param_reg_int

2010-04-20 Thread Nev
Hi Jeff, I did the install to the "same place". I always use /opt/openmpi, the procedure I use when building is configure --prefix=/opt/openmpi ... rm -r /opt/openmpi/* make clean make all make install is this sufficient to un-install previous version, or is more required. On Tue, 2010-04-20 at 07

Re: [OMPI users] openMPI configure/Installing problemonMacwithgnu-gcc-4.4.3 / gnu-gcc-4.5

2010-04-20 Thread Jeff Squyres
On Apr 19, 2010, at 12:08 PM, Baowei Liu wrote: > Sorry I didn't give you such details in my first email. I tried what you > said--the tarball attached to this email includes the configure and make > output information: > > ./configure --prefix=/usr/local/openmpi | tee config.out > sudo mak

Re: [OMPI users] 'readv failed: Connection timed out' issue

2010-04-20 Thread Jonathan Dursi
On 2010-04-20, at 9:18AM, Terry Dontje wrote: > Hi Jonathan, > > Do you know what the top level function is or communication pattern? Is it > some type of collective or a pattern that has a many to one. Ah, should have mentioned. The best-characterized code that we're seeing this with is an

Re: [OMPI users] 'readv failed: Connection timed out' issue

2010-04-20 Thread Terry Dontje
Hi Jonathan, Do you know what the top level function is or communication pattern? Is it some type of collective or a pattern that has a many to one. What might be happening is that since OMPI uses a lazy connections by default if all processes are trying to establish communications to the same

[OMPI users] 'readv failed: Connection timed out' issue

2010-04-20 Thread Jonathan Dursi
Hi: We've got OpenMPI 1.4.1 and Intel MPI running on our 3000 node system. We like OpenMPI for large jobs, because the startup time is much faster (and startup is more reliable) than the current defaults with IntelMPI; but we're having some pretty serious problems when the jobs are actually r

Re: [OMPI users] unresolved symbol mca_base_param_reg_int

2010-04-20 Thread Jeff Squyres
Gah! I didn't look at your error message closely enough the first time -- sorry! Did you perchance upgrade an existing Open MPI installation in place? I.e., have Open MPI 1.2.7 installed in /somewhere and the install Open MPI 1.3.x/1.4.x into the same /somewhere? If so, try a full uninstall

Re: [OMPI users] MPI Program hangs when runs on more than one host

2010-04-20 Thread long thai
Hi Changsheng Thank you very much for your solution. The program runs well now :) Regards. On Tue, Apr 20, 2010 at 3:54 PM, Changsheng Jiang wrote: > I have encountered the same problem too. > > By gdb attached, it's show that the processes are in a loop of (e)poll. > After configuring the netw

Re: [OMPI users] MPI Program hangs when runs on more than one host

2010-04-20 Thread Changsheng Jiang
I have encountered the same problem too. By gdb attached, it's show that the processes are in a loop of (e)poll. After configuring the network interface in ~/.openmpi/mca-params.conf using btl_tcp_if_include, all hosts work fine. just fyi. Chan

Re: [OMPI users] Incorrect results with MPI-IO with OpenMPI v1.3.0 andbeyond

2010-04-20 Thread E.T.A.vanderWeide
Hi Scott, I find the same behavior for the test program I posted a couple of days ago. It works fine in combination with OpenMPI v1.2, but it produces incorrect results for v1.3 and v1.4. I also agree with your suggestion that something is wrong with the offsets, because for my test program bot

Re: [OMPI users] Error on sending argv

2010-04-20 Thread jody
Hi You should remove the "&" for the first parameters of your MPI_Send and MPI_Recv: MPI_Send(text, strlen(text) + 1, MPI_CHAR, 1, 0, MPI_COMM_WORLD); MPI_Recv(buffer, 128, MPI_CHAR, MPI_ANY_SOURCE, MPI_ANY_TAG, MPI_COMM_WORLD, &status); In C/C++ the name of an array is a pointer to the start of

[OMPI users] MPI Program hangs when runs on more than one host

2010-04-20 Thread long thai
Hi all. I'm just using OpenMPI for few days. I'll try to run a simple MPI program, the program is ProcessColors which I get from CI-Tutor. I have 2 hosts, if I run the program separately on each one, it runs well. However, if I run it on two