Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Executions in two different machines
From: Harald Servat (harald.servat_at_[hidden])
Date: 2012-06-18 11:12:27


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
> > -prefix /home/Computational/harald/aplic/openmpi/1.6/ -x
> > PATH=/home/Computational/harald/aplic/openmpi/1.6/bin -np 1 -host
> > M2 /home/Computational/harald/tests/mpi/multi-machine/init_barrier_fini
>
> Try without using the absolute pathname to mpirun -- it reacts differently if you specify the absolute pathname vs. just "mpirun".
>
> Also, if you setup your .bashrc's right, then you don't need the -x LD_LIBRARY_PATH... clause.
>

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?

Thank you!

# mpirun -v -display-map -np 1 -host localhost ./init_barrier_fini : -np
1 -host
M2 /home/Computational/harald/tests/mpi/multi-machine/init_barrier_fini

 ======================== JOB MAP ========================

 Data for node: M1 Num procs: 1
         Process OMPI jobid: [89,1] Process rank: 0

 Data for node: M2 Num procs: 1
         Process OMPI jobid: [89,1] Process rank: 1

 =============================================================

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer