Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Help om Openmpi
From: Trent Creekmore (mtcreekmore_at_[hidden])
Date: 2010-04-06 03:33:45

SSH means SECURE Shell. That being said, it would not be very secure without
a password, now would it?


Besides it is the user account that requires passwords, not SHH.



From: users-bounces_at_[hidden] [mailto:users-bounces_at_[hidden]] On
Behalf Of Huynh Thuc Cuoc
Sent: Monday, April 05, 2010 9:19 PM
To: Open MPI Users
Subject: Re: [OMPI users] Help om Openmpi


Dear friends,
I am try to follo the advices about to do login to remote by ssh without
password, for example:
This is one of ...:
SSH without password

Using the below steps, you can ssh to the server from client without the
entering any password.
The machine which run the ssh command is the client
The machine that the client access using ssh is the server

   1. Run the following command on the client
          * -> ssh-keygen -t dsa
   2. File id_dsa and will be created inside $HOME/.ssh
   3. Copy to the server's .ssh directory
          * -> scp $HOME/.ssh/ user_at_server:/home/user/.ssh
   4. Change to /root/.ssh and create file authorized_keys containing id_dsa
          * -> cd /home/user/.ssh
          * -> cat id_dsa >> authorized_keys
   5. You can try ssh to the server from the client and no password will be
          * -> ssh user_at_server

BUT, when I test login to remote host, alway passwd request.
How ang what I have to do. I runs all (headnode and nodes ) with ConOS 5.4.
Have anyone IDEALS !
HT Cuoc

On Wed, Mar 31, 2010 at 5:43 PM, Jeff Squyres (jsquyres)
<jsquyres_at_[hidden]> wrote:

Yes, you need to install open mpi on all nodes and you need to be able to
login to each node without being prompted for a password.

Also, not that v1.2.7 is pretty ancient. If you're juist starting with open
mpi, can you upgrade to the latest version?

Sent from my PDA. No type good.



From: users-bounces_at_[hidden] <users-bounces_at_[hidden]>
To: users_at_[hidden] <users_at_[hidden]>
Sent: Wed Mar 31 03:39:08 2010
Subject: [OMPI users] Help om Openmpi

Dear all,
I had install my cluster which the configuration as following:
- headnode :
  + linux CenOS 5.4, 4 CPUs, 3G RAM
  + sun gridengine sge6.0u12. The headnode is admin and submit node too.
  + Openmpi 1.2.9. In the installation openmpi :.configure
--prefix=/opt/openmpi --with-sge ...Processes complilation and make was
  + I have 2 others nodes which confg. are: 4 CPU, 1 G RAM and on which run
Testing for SGE on headnode and nodes by qsub was fine.
When testing openmpi with as folowing:
[guser1_at_ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 4 --hostfile myhosts
Hello, world! I am 0 of 4
Hello, world! I am 1 of 4
Hello, world! I am 3 of 4
Hello, world! I am 2 of 4
[guser1_at_ioitg2 examples]$

The openmpi runs well.
My file myhosts: slots=4 slots=4 slots=4

Now for more processes:
[guser1_at_ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 6 --hostfile myhosts
guser1_at_[hidden]'s password:
Failed to find the following executable:

Executable: hello_cxx

Cannot continue.
mpirun noticed that job rank 0 with PID 19164 on node
exited on signal 15 (Terminated).
3 additional processes aborted (not shown)
[guser1_at_ioitg2 examples]$

This is error massage. I was login on node1 successful.

PLS, Help me. What problems I have 9installation, configurations, ...). Have
I install openmpi on all nodes ?

Thank you very much and I am waitting your helps.

users mailing list