Re: [OMPI users] Help om Openmpi

2010-04-06 Thread jody
@Trent
> the 1024 RSA has already been cracked.
Yeah but unless you've got 3 guys spending 100 hours varying the
voltage of your processors
it is still safe... :)


On Tue, Apr 6, 2010 at 11:35 AM, Reuti  wrote:
> Hi,
>
> Am 06.04.2010 um 09:48 schrieb Terry Frankcombe:
>
>>>   1. Run the following command on the client
>>>          * -> ssh-keygen -t dsa
>>>   2. File id_dsa and id_dsa.pub will be created inside $HOME/.ssh
>>>   3. Copy id_dsa.pub to the server's .ssh directory
>>>          * -> scp $HOME/.ssh/id_dsa.pub user@server:/home/user/.ssh
>>>   4. Change to /root/.ssh and create file authorized_keys containing
>>> id_dsa content
>>>          * -> 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 needed
>>>          * -> ssh user@server
>>
>> That prescription is a little messed up.  You need to create id_dsa and
>> id_dsa.pub on the client, as above.
>>
>> But it is the client's id_dsa.pub that needs to go
>> into /home/user/.ssh/authorized_keys on the server, which seems to be
>> not what the above recipe does.
>>
>> If that doesn't help, try adding -v or even -v -v to the ssh command to
>> see what the connection is trying to do w.r.t. your keys.
>
> inside a cluster I suggest hostbased authentication. No keys for the user, a 
> common used ssh_known_hosts file and a central place to look for errors.
>
> Passphraseless ssh-keys I just dislike as they tempt the user to copy them to 
> all remote location (especially the private part) to get more comfort while 
> using ssh between two remote clusters, but using an ssh-agent would in this 
> case be a more secure option.
>
> -- Reuti
>
>
>> ___
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>



Re: [OMPI users] Help om Openmpi

2010-04-06 Thread Reuti
Hi,

Am 06.04.2010 um 09:48 schrieb Terry Frankcombe:

>>   1. Run the following command on the client
>>  * -> ssh-keygen -t dsa
>>   2. File id_dsa and id_dsa.pub will be created inside $HOME/.ssh
>>   3. Copy id_dsa.pub to the server's .ssh directory
>>  * -> scp $HOME/.ssh/id_dsa.pub user@server:/home/user/.ssh
>>   4. Change to /root/.ssh and create file authorized_keys containing
>> id_dsa content
>>  * -> 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 needed
>>  * -> ssh user@server
> 
> That prescription is a little messed up.  You need to create id_dsa and
> id_dsa.pub on the client, as above.
> 
> But it is the client's id_dsa.pub that needs to go
> into /home/user/.ssh/authorized_keys on the server, which seems to be
> not what the above recipe does.
> 
> If that doesn't help, try adding -v or even -v -v to the ssh command to
> see what the connection is trying to do w.r.t. your keys.

inside a cluster I suggest hostbased authentication. No keys for the user, a 
common used ssh_known_hosts file and a central place to look for errors.

Passphraseless ssh-keys I just dislike as they tempt the user to copy them to 
all remote location (especially the private part) to get more comfort while 
using ssh between two remote clusters, but using an ssh-agent would in this 
case be a more secure option.

-- Reuti


> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users




Re: [OMPI users] Help om Openmpi

2010-04-06 Thread Trent Creekmore
I have and the 1024 RSA has already been cracked.



-Original Message-
From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On
Behalf Of Terry Frankcombe
Sent: Tuesday, April 06, 2010 2:44 AM
To: Open MPI Users
Subject: Re: [OMPI users] Help om Openmpi

On Tue, 2010-04-06 at 02:33 -0500, Trent Creekmore wrote:
> SSH means SECURE Shell. That being said, it would not be very secure
> without a password, now would it?

I think you need to read about public key authentication.  It is secure.


___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



Re: [OMPI users] Help om Openmpi

2010-04-06 Thread Terry Frankcombe


>1. Run the following command on the client
>   * -> ssh-keygen -t dsa
>2. File id_dsa and id_dsa.pub will be created inside $HOME/.ssh
>3. Copy id_dsa.pub to the server's .ssh directory
>   * -> scp $HOME/.ssh/id_dsa.pub user@server:/home/user/.ssh
>4. Change to /root/.ssh and create file authorized_keys containing
> id_dsa content
>   * -> 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 needed
>   * -> ssh user@server

That prescription is a little messed up.  You need to create id_dsa and
id_dsa.pub on the client, as above.

But it is the client's id_dsa.pub that needs to go
into /home/user/.ssh/authorized_keys on the server, which seems to be
not what the above recipe does.

If that doesn't help, try adding -v or even -v -v to the ssh command to
see what the connection is trying to do w.r.t. your keys.






Re: [OMPI users] Help om Openmpi

2010-04-06 Thread Terry Frankcombe
On Tue, 2010-04-06 at 02:33 -0500, Trent Creekmore wrote:
> SSH means SECURE Shell. That being said, it would not be very secure
> without a password, now would it?

I think you need to read about public key authentication.  It is secure.




Re: [OMPI users] Help om Openmpi

2010-04-06 Thread Trent Creekmore
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-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] 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 id_dsa.pub will be created inside $HOME/.ssh
   3. Copy id_dsa.pub to the server's .ssh directory
  * -> scp $HOME/.ssh/id_dsa.pub user@server:/home/user/.ssh
   4. Change to /root/.ssh and create file authorized_keys containing id_dsa
content
  * -> 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
needed
  * -> ssh user@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)
 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? 

-jms 
Sent from my PDA. No type good.



  _  

From: users-boun...@open-mpi.org  
To: us...@open-mpi.org  
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
fine.
  + I have 2 others nodes which confg. are: 4 CPU, 1 G RAM and on which run
sgeexecd.
Testing for SGE on headnode and nodes by qsub was fine.
When testing openmpi with as folowing:
[guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 4 --hostfile myhosts
hello_cxx
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@ioitg2 examples]$ 

The openmpi runs well.
My file myhosts:
ioitg2.ioit-grid.ac.vn slots=4
node1.ioit-grid.ac.vn slots=4
node2.ioit-grid.ac.vn slots=4

Now for more processes:
[guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 6 --hostfile myhosts
hello_cxx
gus...@node1.ioit-grid.ac.vn's password: 
--
Failed to find the following executable:

Host:   node1.ioit-grid.ac.vn
Executable: hello_cxx

Cannot continue.
--
mpirun noticed that job rank 0 with PID 19164 on node ioitg2.ioit-grid.ac.vn
exited on signal 15 (Terminated). 
3 additional processes aborted (not shown)
[guser1@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
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users





Re: [OMPI users] Help om Openmpi

2010-04-05 Thread Huynh Thuc Cuoc
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 id_dsa.pub will be created inside $HOME/.ssh
   3. Copy id_dsa.pub to the server's .ssh directory
  * -> scp $HOME/.ssh/id_dsa.pub user@server:/home/user/.ssh
   4. Change to /root/.ssh and create file authorized_keys containing id_dsa
content
  * -> 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
needed
  * -> ssh user@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)  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?
>
> -jms
> Sent from my PDA. No type good.
>
> --
>  *From*: users-boun...@open-mpi.org 
> *To*: us...@open-mpi.org 
> *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
> fine.
>   + I have 2 others nodes which confg. are: 4 CPU, 1 G RAM and on which run
> sgeexecd.
> Testing for SGE on headnode and nodes by qsub was fine.
> When testing openmpi with as folowing:
> [guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 4 --hostfile myhosts
> hello_cxx
> 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@ioitg2 examples]$
>
> The openmpi runs well.
> My file myhosts:
> ioitg2.ioit-grid.ac.vn slots=4
> node1.ioit-grid.ac.vn slots=4
> node2.ioit-grid.ac.vn slots=4
>
> Now for more processes:
> [guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 6 --hostfile myhosts
> hello_cxx
> gus...@node1.ioit-grid.ac.vn's password:
> --
> Failed to find the following executable:
>
> Host:   node1.ioit-grid.ac.vn
> Executable: hello_cxx
>
> Cannot continue.
> --
> mpirun noticed that job rank 0 with PID 19164 on node
> ioitg2.ioit-grid.ac.vn exited on signal 15 (Terminated).
> 3 additional processes aborted (not shown)
> [guser1@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
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>


Re: [OMPI users] Help om Openmpi

2010-04-02 Thread Huynh Thuc Cuoc
Thank you for helps.
HTCuoc

On Fri, Apr 2, 2010 at 1:30 PM, longbow leo  wrote:

> There're lots of tutorials for ssh login without password available online.
> such as
>
> http://linuxproblem.org/art_9.html
> http://linuxwave.blogspot.com/2007/07/ssh-without-password.html
>
>
> HZ Liu
>
> 2010/4/2 Huynh Thuc Cuoc 
>
> Thank you very much.
>> After that I try with the mpirun:
>> [guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 10 --hostfile
>> myhosts ring_cxx
>> gus...@node1.ioit-grid.ac.vn's 
>> password:gus...@node2.ioit-grid.ac.vn's
>> password:
>>
>> This request passwd to login to nodes, but 2 massages in the line, I can
>> only success with one node, the 2sd. refussed.
>> So, how I can do as you advise, to login to each node without being
>> prompted for a password. ?
>> What I need to do. Help me.
>> I run openmpi 1.2.9 supporting SGE (when I buil with --with-sge). I had
>> tested to buil with 1.3. or 1.4. with this option I saw the error no
>> recognize --with-sge. Why ? bug or ? While docs README shows that this is
>> supported. I need this because I run SUN gridengine on may cluster. You have
>> some ideals ?
>> Thank you very much.
>> Sincerely.
>> HTCuoc
>>
>> On Wed, Mar 31, 2010 at 5:43 PM, Jeff Squyres (jsquyres) <
>> jsquy...@cisco.com> 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?
>>>
>>> -jms
>>> Sent from my PDA. No type good.
>>>
>>> --
>>>  *From*: users-boun...@open-mpi.org 
>>> *To*: us...@open-mpi.org 
>>> *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
>>> fine.
>>>   + I have 2 others nodes which confg. are: 4 CPU, 1 G RAM and on which
>>> run sgeexecd.
>>> Testing for SGE on headnode and nodes by qsub was fine.
>>> When testing openmpi with as folowing:
>>> [guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 4 --hostfile
>>> myhosts hello_cxx
>>> 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@ioitg2 examples]$
>>>
>>> The openmpi runs well.
>>> My file myhosts:
>>> ioitg2.ioit-grid.ac.vn slots=4
>>> node1.ioit-grid.ac.vn slots=4
>>> node2.ioit-grid.ac.vn slots=4
>>>
>>> Now for more processes:
>>> [guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 6 --hostfile
>>> myhosts hello_cxx
>>> gus...@node1.ioit-grid.ac.vn's password:
>>>
>>> --
>>> Failed to find the following executable:
>>>
>>> Host:   node1.ioit-grid.ac.vn
>>> Executable: hello_cxx
>>>
>>> Cannot continue.
>>>
>>> --
>>> mpirun noticed that job rank 0 with PID 19164 on node
>>> ioitg2.ioit-grid.ac.vn exited on signal 15 (Terminated).
>>> 3 additional processes aborted (not shown)
>>> [guser1@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
>>> us...@open-mpi.org
>>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>>
>>
>>
>> ___
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>


Re: [OMPI users] Help om Openmpi

2010-04-02 Thread longbow leo
There're lots of tutorials for ssh login without password available online.
such as

http://linuxproblem.org/art_9.html
http://linuxwave.blogspot.com/2007/07/ssh-without-password.html


HZ Liu

2010/4/2 Huynh Thuc Cuoc 

> Thank you very much.
> After that I try with the mpirun:
> [guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 10 --hostfile
> myhosts ring_cxx
> gus...@node1.ioit-grid.ac.vn's 
> password:gus...@node2.ioit-grid.ac.vn's
> password:
>
> This request passwd to login to nodes, but 2 massages in the line, I can
> only success with one node, the 2sd. refussed.
> So, how I can do as you advise, to login to each node without being
> prompted for a password. ?
> What I need to do. Help me.
> I run openmpi 1.2.9 supporting SGE (when I buil with --with-sge). I had
> tested to buil with 1.3. or 1.4. with this option I saw the error no
> recognize --with-sge. Why ? bug or ? While docs README shows that this is
> supported. I need this because I run SUN gridengine on may cluster. You have
> some ideals ?
> Thank you very much.
> Sincerely.
> HTCuoc
>
> On Wed, Mar 31, 2010 at 5:43 PM, Jeff Squyres (jsquyres) <
> jsquy...@cisco.com> 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?
>>
>> -jms
>> Sent from my PDA. No type good.
>>
>> ----------
>>  *From*: users-boun...@open-mpi.org 
>> *To*: us...@open-mpi.org 
>> *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
>> fine.
>>   + I have 2 others nodes which confg. are: 4 CPU, 1 G RAM and on which
>> run sgeexecd.
>> Testing for SGE on headnode and nodes by qsub was fine.
>> When testing openmpi with as folowing:
>> [guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 4 --hostfile
>> myhosts hello_cxx
>> 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@ioitg2 examples]$
>>
>> The openmpi runs well.
>> My file myhosts:
>> ioitg2.ioit-grid.ac.vn slots=4
>> node1.ioit-grid.ac.vn slots=4
>> node2.ioit-grid.ac.vn slots=4
>>
>> Now for more processes:
>> [guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 6 --hostfile
>> myhosts hello_cxx
>> gus...@node1.ioit-grid.ac.vn's password:
>> --
>> Failed to find the following executable:
>>
>> Host:   node1.ioit-grid.ac.vn
>> Executable: hello_cxx
>>
>> Cannot continue.
>> --
>> mpirun noticed that job rank 0 with PID 19164 on node
>> ioitg2.ioit-grid.ac.vn exited on signal 15 (Terminated).
>> 3 additional processes aborted (not shown)
>> [guser1@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
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>


Re: [OMPI users] Help om Openmpi

2010-04-02 Thread Huynh Thuc Cuoc
Thank you very much.
After that I try with the mpirun:
[guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 10 --hostfile myhosts
ring_cxx
gus...@node1.ioit-grid.ac.vn's
password:gus...@node2.ioit-grid.ac.vn's
password:

This request passwd to login to nodes, but 2 massages in the line, I can
only success with one node, the 2sd. refussed.
So, how I can do as you advise, to login to each node without being prompted
for a password. ?
What I need to do. Help me.
I run openmpi 1.2.9 supporting SGE (when I buil with --with-sge). I had
tested to buil with 1.3. or 1.4. with this option I saw the error no
recognize --with-sge. Why ? bug or ? While docs README shows that this is
supported. I need this because I run SUN gridengine on may cluster. You have
some ideals ?
Thank you very much.
Sincerely.
HTCuoc

On Wed, Mar 31, 2010 at 5:43 PM, Jeff Squyres (jsquyres)  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?
>
> -jms
> Sent from my PDA. No type good.
>
> --
>  *From*: users-boun...@open-mpi.org 
> *To*: us...@open-mpi.org 
> *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
> fine.
>   + I have 2 others nodes which confg. are: 4 CPU, 1 G RAM and on which run
> sgeexecd.
> Testing for SGE on headnode and nodes by qsub was fine.
> When testing openmpi with as folowing:
> [guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 4 --hostfile myhosts
> hello_cxx
> 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@ioitg2 examples]$
>
> The openmpi runs well.
> My file myhosts:
> ioitg2.ioit-grid.ac.vn slots=4
> node1.ioit-grid.ac.vn slots=4
> node2.ioit-grid.ac.vn slots=4
>
> Now for more processes:
> [guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 6 --hostfile myhosts
> hello_cxx
> gus...@node1.ioit-grid.ac.vn's password:
> --
> Failed to find the following executable:
>
> Host:   node1.ioit-grid.ac.vn
> Executable: hello_cxx
>
> Cannot continue.
> --
> mpirun noticed that job rank 0 with PID 19164 on node
> ioitg2.ioit-grid.ac.vn exited on signal 15 (Terminated).
> 3 additional processes aborted (not shown)
> [guser1@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
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>


Re: [OMPI users] Help om Openmpi

2010-03-31 Thread Jeff Squyres (jsquyres)
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? 

-jms 
Sent from my PDA. No type good.



From: users-boun...@open-mpi.org  
To: us...@open-mpi.org  
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 fine.
  + I have 2 others nodes which confg. are: 4 CPU, 1 G RAM and on which run 
sgeexecd.
Testing for SGE on headnode and nodes by qsub was fine.
When testing openmpi with as folowing:
[guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 4 --hostfile myhosts 
hello_cxx
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@ioitg2 examples]$ 

The openmpi runs well.
My file myhosts:
ioitg2.ioit-grid.ac.vn slots=4
node1.ioit-grid.ac.vn slots=4
node2.ioit-grid.ac.vn slots=4

Now for more processes:
[guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 6 --hostfile myhosts 
hello_cxx
gus...@node1.ioit-grid.ac.vn's password: 
--
Failed to find the following executable:

Host:   node1.ioit-grid.ac.vn
Executable: hello_cxx

Cannot continue.
--
mpirun noticed that job rank 0 with PID 19164 on node ioitg2.ioit-grid.ac.vn 
exited on signal 15 (Terminated). 
3 additional processes aborted (not shown)
[guser1@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.






[OMPI users] Help om Openmpi

2010-03-31 Thread Huynh Thuc Cuoc
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
fine.
  + I have 2 others nodes which confg. are: 4 CPU, 1 G RAM and on which run
sgeexecd.
Testing for SGE on headnode and nodes by qsub was fine.
When testing openmpi with as folowing:
[guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 4 --hostfile myhosts
hello_cxx
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@ioitg2 examples]$

The openmpi runs well.
My file myhosts:
ioitg2.ioit-grid.ac.vn slots=4
node1.ioit-grid.ac.vn slots=4
node2.ioit-grid.ac.vn slots=4

Now for more processes:
[guser1@ioitg2 examples]$ /opt/openmpi/bin/mpirun -np 6 --hostfile myhosts
hello_cxx
gus...@node1.ioit-grid.ac.vn's password:
--
Failed to find the following executable:

Host:   node1.ioit-grid.ac.vn
Executable: hello_cxx

Cannot continue.
--
mpirun noticed that job rank 0 with PID 19164 on node
ioitg2.ioit-grid.ac.vnexited on signal 15 (Terminated).
3 additional processes aborted (not shown)
[guser1@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.