Re: [OMPI users] Executions in two different machines

2012-06-18 Thread Jeff Squyres
On Jun 18, 2012, at 11:45 AM, Harald Servat wrote: >> 2. The two machines need to be able to open TCP connections to each other on >> random ports. > > That will be harder. Do need both machines to open TCP connections to > random ports, or just one? Both. To be specific: there's two layers

Re: [OMPI users] Executions in two different machines

2012-06-18 Thread Harald Servat
El dl 18 de 06 de 2012 a les 11:39 -0400, en/na Jeff Squyres va escriure: > On Jun 18, 2012, at 11:12 AM, Harald Servat wrote: > > > Thank you Jeff. Now with the following commands starts, but it gets > > blocked before starting. May be this problem of firewalls? Do I need > > both that M1 and M2

Re: [OMPI users] Executions in two different machines

2012-06-18 Thread Jeff Squyres
On Jun 18, 2012, at 11:12 AM, Harald Servat wrote: > Thank you Jeff. Now with the following commands starts, but it gets > blocked before starting. May be this problem of firewalls? Do I need > both that M1 and M2 can log into the other machine through ssh? I'm not sure what you mean by "blocked"

Re: [OMPI users] Executions in two different machines

2012-06-18 Thread Harald Servat
El dl 18 de 06 de 2012 a les 10:56 -0400, en/na Jeff Squyres va escriure: > On Jun 18, 2012, at 10:45 AM, Harald Servat wrote: > > > # $HOME/aplic/openmpi/1.6/bin/mpirun -np 1 -host > > localhost ./init_barrier_fini : -x > > LD_LIBRARY_PATH=/home/Computational/harald/aplic/openmpi/1.6/lib > > -pre

Re: [OMPI users] Executions in two different machines

2012-06-18 Thread Jeff Squyres
On Jun 18, 2012, at 10:45 AM, Harald Servat wrote: > # $HOME/aplic/openmpi/1.6/bin/mpirun -np 1 -host > localhost ./init_barrier_fini : -x > LD_LIBRARY_PATH=/home/Computational/harald/aplic/openmpi/1.6/lib > -prefix /home/Computational/harald/aplic/openmpi/1.6/ -x > PATH=/home/Computational/harald

Re: [OMPI users] Executions in two different machines

2012-06-18 Thread Harald Servat
Thank you for your answers. I've tried that but it doesn't seem to work. The latest command I've issued is # $HOME/aplic/openmpi/1.6/bin/mpirun -np 1 -host localhost ./init_barrier_fini : -x LD_LIBRARY_PATH=/home/Computational/harald/aplic/openmpi/1.6/lib -prefix /home/Computational/harald/aplic

Re: [OMPI users] Executions in two different machines

2012-06-18 Thread Jeff Squyres
You might also want to set up your shell startup files on each machine to reflect the proper PATH and LD_LIBRARY_PATH. E.g., if you have a different .bashrc on each machine, just have it set PATH and LD_LIBARY_PATH properly *for that machine*. To be clear: it's usually easiest to install OMPI

Re: [OMPI users] Executions in two different machines

2012-06-18 Thread Ralph Castain
Try adding "-x LD_LIBRARY_PATH=" to your mpirun cmd line On Jun 18, 2012, at 7:11 AM, Harald Servat wrote: > Hello list, > > I'd like to use OpenMPI to execute an MPI application in two different > machines. > > Up to now, I've configured and installed OpenMPI 1.6 in my two systems > (each o