[OMPI users] mpirun hangs

2007-08-14 Thread jody
Hi I installed openmpi 1.2.2 on a quad core intel machine running fedora 6 (hostname plankton) I set PATH and LD_LIBRARY in the .zshrc file: $ echo $PATH /opt/openmpi/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/jody/bin $ echo $LD_LIBRARY_PATH /opt/openmpi/lib: When i

[OMPI users] libmpi.so.0 problem

2007-08-14 Thread Rodrigo Faccioli
Hi, I need to know what I can resolve my problem. I'm starting my study on mpi, more specificaly open-mpi. But, when I execute mpirun a.out, the message I received is: a.out: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory The a.out

Re: [OMPI users] libmpi.so.0 problem

2007-08-14 Thread Tim Prins
You need to set your LD_LIBRARY_PATH. See these FAQ entries: http://www.open-mpi.org/faq/?category=running#run-prereqs http://www.open-mpi.org/faq/?category=running#adding-ompi-to-path Tim Rodrigo Faccioli wrote: Hi, I need to know what I can resolve my problem. I'm starting my study on mpi,

Re: [OMPI users] mpirun hangs

2007-08-14 Thread Tim Prins
Hi Jody, jody wrote: Hi I installed openmpi 1.2.2 on a quad core intel machine running fedora 6 (hostname plankton) I set PATH and LD_LIBRARY in the .zshrc file: Note that .zshrc is only used for interactive logins. You need to setup your system so the LD_LIBRARY_PATH and PATH is also set

Re: [OMPI users] Help : Need some tuning, or is it a bug ?

2007-08-14 Thread Tim Prins
Guillaume THOMAS-COLLIGNON wrote: Hi, I wrote an application which works fine on a small number of nodes (eg. 4), but it crashes on a large number of CPUs. In this application, all the slaves send many small messages to the master. I use the regular MPI_Send, and since the messages are

Re: [OMPI users] libmpi.so.0 problem

2007-08-14 Thread Rodrigo Faccioli
Thanks, Tim Prins for your email. However It did't resolve my problem. I set the enviroment variable on my Kubuntu Linux: faccioli@faccioli-desktop:/usr/local/lib$ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/bin

Re: [OMPI users] mpirun hangs

2007-08-14 Thread jody
Hi TIm thanks for the suggestions. I now set both paths in .zshenv but it seems that LD_LIBRARY_PATH still does not get set. The ldd experment shows that all openmpi libraries are not found, and indeed the printenv shows that PATH is there but LD_LIBRARY_PATH is not. It is rather unclear why

Re: [OMPI users] libmpi.so.0 problem

2007-08-14 Thread Durga Choudhury
Did you export your variables? Otherwise the child shell that forks the MPI process will not inherit it. On 8/14/07, Rodrigo Faccioli wrote: > > Thanks, Tim Prins for your email. > > However It did't resolve my problem. > > I set the enviroment variable on my

Re: [OMPI users] segmentation faults

2007-08-14 Thread Adams, Samuel D Contr AFRL/HEDR
So I ran valgrind on my code and it came up with a few thousand memory errors, but none of them had anything to do with the code I wrote. It gave a few errors for the LDAP authentication stuff at the beginning, but most of the error came from orte*. The only part that made reference to my code

Re: [OMPI users] libmpi.so.0 problem

2007-08-14 Thread Tim Prins
In general, exporting the variables is good enough. You really should be setting the variables in the appropriate shell (non-interactive) login scripts, such as .bashrc (I again point you to the same FAQ entries for more information: http://www.open-mpi.org/faq/?category=running#run-prereqs

Re: [OMPI users] libmpi.so.0 problem

2007-08-14 Thread Tim Prins
I meant to say, "exporting the variables is *not* good enough". Tim Tim Prins wrote: In general, exporting the variables is good enough. You really should be setting the variables in the appropriate shell (non-interactive) login scripts, such as .bashrc (I again point you to the same FAQ

Re: [OMPI users] mpirun hangs

2007-08-14 Thread Tim Prins
Jody, jody wrote: Hi TIm thanks for the suggestions. I now set both paths in .zshenv but it seems that LD_LIBRARY_PATH still does not get set. The ldd experment shows that all openmpi libraries are not found, and indeed the printenv shows that PATH is there but LD_LIBRARY_PATH is not. Are

Re: [OMPI users] MPI_AllReduce design for shared-memory.

2007-08-14 Thread smairal
Can anyone help on this? -Thanks, Sarang. Quoting smai...@ksu.edu: > Hi, > I am doing a research on parallel techniques for shared-memory > systems(NUMA). I understand that OpenMPI is intelligent to utilize > shared-memory system and it uses processor-affinity. Is the OpenMPI > design of

Re: [OMPI users] MPI_AllReduce design for shared-memory.

2007-08-14 Thread smairal
Thanks, I understand what you are saying. But my query is regarding the design of MPI_AllReduce for shared-memory systems. I mean is there any different logic/design of MPI_AllReduce when OpenMPI is used on shared-memory systems? The standard MPI_AllReduce says, 1. Each MPI process sends its value

Re: [OMPI users] MPI_AllReduce design for shared-memory.

2007-08-14 Thread Jeff Squyres
The primary person you need to talk to is turning in her dissertation within the next few days. So I think she's kinda busy at the moment... :-) Sorry for the delay -- I'll take a shot at answers below... On Aug 14, 2007, at 4:39 PM, smai...@ksu.edu wrote: Can anyone help on this?