Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] requirement on ssh when run openmpi
From: Reuti (reuti_at_[hidden])
Date: 2013-07-29 06:28:57


Am 29.07.2013 um 05:48 schrieb dani:

> But that is not a requirement on ssh.
> That is a requirement on the install base on the second node - both must have the same environment variables set, using same paths on each machine.
> either install openmpi on each node, and setup /etc/profile.d/openmpi.{c,}sh and /etc/ld.so.conf.d/openmpi.conf files on both (preferred) or install to a common file system (e.g. nfs mount) and still use profile and ldconfig to setup environment.

Where was Open MPI installed to? Maybe you need to set the $PATH for a non-interactive login in your ~/.bashrc to include this location on the slave node.

-- Reuti

> On 29/07//2013 05:00, meng wrote:
>> Dear Reuti,
>> Thank you for the reply.
>> In examples directory on the computer c1, command "mpiexec -np 4 hello_c" is correctly executed.
>> If I run " mpiexec -machinefile hosts hello_c " on computer c1, where hosts contains two line :
>> " node3
>> localhost
>> "
>> the screen displays as follows:
>> bash: orted: command not found
>> --------------------------------------------------------------------------
>> A daemon (pid 5247) died unexpectedly with status 127 while attempting
>> to launch so we are aborting.
>>
>> There may be more information reported by the environment (see above).
>>
>> This may be because the daemon was unable to find all the needed shared
>> libraries on the remote node. You may set your LD_LIBRARY_PATH to have the
>> location of the shared libraries on the remote nodes and this will
>> automatically be forwarded to the remote nodes.--------------------------------------------------------------------------
>> --------------------------------------------------------------------------
>> mpiexec noticed that the job aborted, but has no info as to the process
>> that caused that situation.
>> I dont know whats wrong with it.
>> Thank you.
>> Regards,
>> Meng
>>
>>
>>
>> At 2013-07-27 16:44:56,Reuti <reuti_at_[hidden]>
>> wrote:
>> >Hi,
>> >
>> >Am 27.07.2013 um 08:48 schrieb meng:
>> >
>> >> what 's the requriement, especially on ssh, to run openmpi? I have two computers, say c1 and c2. Through ssh, c1 can access c2 without password, but c2 can't access c1. Under this environment, can I use openmpi to compute parallely?
>> >
>> >as long as you execute `mpiexec` only on c1, it should work. But you can't start a job on c2.
>> >
>> >-- Reuti
>> >
>> >
>> >> Regards,
>> >> meng
>> >>
>> >>
>> >> _______________________________________________
>> >> users mailing list
>> >>
>> users_at_[hidden]
>>
>> >>
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>> >
>> >
>> >_______________________________________________
>> >users mailing list
>> >
>> users_at_[hidden]
>>
>> >
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>>
>>
>>
>> _______________________________________________
>> users mailing list
>>
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users