Re: [OMPI users] regarding the problem occurred while running anmpi programs

2012-04-25 Thread seshendra seshu
Hi jeff Squyres Iam sorry ,actually i have gone through all ur advises and also created an password less ssh key by the instructions provided in FAQ of OpenMPI website. and i have google, for giving the permission to user to access SSH, for that i have configured in SSH_config file but iam unable t

Re: [OMPI users] regarding the problem occurred while running anmpi programs

2012-04-25 Thread Jeff Squyres
Did you read the FAQ links that I sent? It talks about setting up SSH keys. Also try this link: http://bit.ly/JQd6cF (sidenote: I am very willing to help people, especially those who are new to the field, who are willing to help themselves. But my patience grows a little thin when I rep

Re: [OMPI users] regarding the problem occurred while running anmpi programs

2012-04-25 Thread tyler.bal...@huskers.unl.edu
You'll need to use ssh-keygen to make a set of RSA keys. Don't enter a password when it prompts for one; this will ensure passwordless operation. Once the keys are created, copy ~/.ssh/id_rsa.pub to ~/.ssh/authorized_keys and you should be set. From: users-boun.

Re: [OMPI users] regarding the problem occurred while running anmpi programs

2012-04-25 Thread seshendra seshu
Hi, I have tried so much for correcting that ssh error but unable solve it. but when i tried connecting to client nodes through ssh in root user iam iam successful but when i have created an new user iam unable to connect. so please any help in solving this. As iam nearing to deadline. Thankin

Re: [OMPI users] regarding the problem occurred while running anmpi programs

2012-04-25 Thread Jeff Squyres
To get you running, just setup ssh keys that have empty passphrases. Then you don't need ssh-agent. To setup ssh keys that have non-empty passphrases and get ssh-agent working properly, google around for ssh tutorials (there are many fine ones available) -- that's a bit out of scope for this l

Re: [OMPI users] MPI doesn't recognize multiple cores available on multicore machines

2012-04-25 Thread Jeff Squyres
On Apr 25, 2012, at 12:51 PM, Ralph Castain wrote: > Sounds rather bizarre. Do you have lstopo on your machine? Might be useful to > see the output of that so we can understand what it thinks the topology is > like as this underpins the binding code. > > The -nooversubscribe option is a red her

Re: [OMPI users] MPI doesn't recognize multiple cores available on multicore machines

2012-04-25 Thread Ralph Castain
Sounds rather bizarre. Do you have lstopo on your machine? Might be useful to see the output of that so we can understand what it thinks the topology is like as this underpins the binding code. The -nooversubscribe option is a red herring here - it has nothing to do with the problem, nor will i

Re: [OMPI users] regarding the problem occurred while running anmpi programs

2012-04-25 Thread seshendra seshu
Hi, I have read the FAQ for ssh and followed it but i have got the following error [master@ip-10-80-106-70 .ssh]$ eval 'ssh-agent' SSH_AUTH_SOCK=/tmp/ssh-MOnArn9942/agent.9942; export SSH_AUTH_SOCK; SSH_AGENT_PID=9943; export SSH_AGENT_PID; echo Agent pid 9943; [master@ip-10-80-106-70 .ssh]$ ssh-

Re: [OMPI users] MPI doesn't recognize multiple cores available on multicore machines

2012-04-25 Thread Kyle Boe
>I just re-read the thread. I think there's a little confusion between the terms "processor" and "MPI process" here. You said "As a pre-processing step, each processor must figure out which other processors it must communicate with by virtue of sharing neighboring grid points." Did you mean "MPI pr

Re: [OMPI users] MPI doesn't recognize multiple cores available on multicore machines

2012-04-25 Thread Jeff Squyres
I just re-read the thread. I think there's a little confusion between the terms "processor" and "MPI process" here. You said "As a pre-processing step, each processor must figure out which other processors it must communicate with by virtue of sharing neighboring grid points." Did you mean

Re: [OMPI users] MPI doesn't recognize multiple cores available on multicore machines

2012-04-25 Thread Kyle Boe
> Any chance you could upgrade to Open MPI 1.5.5? It has a better version of the processor affinity stuff than the 1.4 series. Did this and recompiled everything that depended on OMPI. No difference whatsoever. It still tells me, if I specify -np 2 for example, that "There are not enough slots ava

Re: [OMPI users] regarding the problem occurred while running anmpi programs

2012-04-25 Thread Jeff Squyres
I would really suggest doing a little reading in the FAQ. It talks about setting up ssh keys, etc. http://www.open-mpi.org/faq/?category=rsh On Apr 25, 2012, at 12:03 PM, seshendra seshu wrote: > Hi, > Thanks its has worked but when i tried to run for a 2 nodes , i have got the > followi

Re: [OMPI users] regarding the problem occurred while running anmpi programs

2012-04-25 Thread seshendra seshu
Hi, Thanks its has worked but when i tried to run for a 2 nodes , i have got the following error [master@ip-10-80-106-70 ~]$ mpirun -n 2 --hostfile hostfile out Permission denied (publickey,gssapi-with-mic). -- A daemon (pid 9

Re: [OMPI users] MPI doesn't recognize multiple cores available on multicore machines

2012-04-25 Thread Jingcha Joba
My bad. I did not read the bottom part of the email. Not sure If this would help, but can u try, --mca btl sm,self ? -- Sent from my iPhone On Apr 24, 2012, at 3:46 PM, Kyle Boe wrote: > Right, I tried using a hostfile, and it made no difference. This is running > OpenMPI 1.4.4 on CentOS 5.x

Re: [OMPI users] regarding the problem occurred while running anmpi programs

2012-04-25 Thread Lloyd Brown
Yes, but what happens when you run a remote, non-login shell? By that, I mean something like this: ssh master@ip-10-80-106-70 'echo $LD_LIBRARY_PATH' Assuming I got the syntax right, I suspect you'll find that the contents of the variable, do not include /usr/local/openmpi-1.4.5/lib. You really

Re: [OMPI users] regarding the problem occurred while running anmpi programs

2012-04-25 Thread tyler.bal...@huskers.unl.edu
export LD_LIBRARY_PATH= [location of library] leave out the :$LD_LIBRARY_PATH From: users-boun...@open-mpi.org [users-boun...@open-mpi.org] on behalf of seshendra seshu [seshu...@gmail.com] Sent: Wednesday, April 25, 2012 10:43 AM To: Open MPI Users Subject: Re: [O

Re: [OMPI users] regarding the problem occurred while running anmpi programs

2012-04-25 Thread seshendra seshu
Hi I have exported the library files as below [master@ip-10-80-106-70 ~]$ export LD_LIBRARY_PATH=/usr/local/openmpi-1.4.5/lib:$LD_LIBRARY_PATH [master@ip-10-80-106-70 ~]$ mpirun --prefix /usr/local/openmpi-1.4.5 -n 1 --hostfile hostfile out out: error while loading shared libraries: libmpi_cxx.so

Re: [OMPI users] regarding the problem occurred while running anmpi programs

2012-04-25 Thread Jeff Squyres (jsquyres)
See the FAQ item I cited. Sent from my phone. No type good. On Apr 25, 2012, at 11:24 AM, "seshendra seshu" wrote: > Hi > now i have created an used and tried to run the program but i got the > following error > > [master@ip-10-80-106-70 ~]$ mpirun -n 1 --hostfile hostfile out

Re: [OMPI users] regarding the problem occurred while running an mpi programs

2012-04-25 Thread tyler.bal...@huskers.unl.edu
Now you need to set your path in your bash profile as Jeff suggested From: users-boun...@open-mpi.org [users-boun...@open-mpi.org] on behalf of seshendra seshu [seshu...@gmail.com] Sent: Wednesday, April 25, 2012 10:24 AM To: Open MPI Users Subject: Re: [OMPI users

Re: [OMPI users] regarding the problem occurred while running an mpi programs

2012-04-25 Thread seshendra seshu
Hi now i have created an used and tried to run the program but i got the following error [master@ip-10-80-106-70 ~]$ mpirun -n 1 --hostfile hostfile out out: error while loading shared libraries: libmpi_cxx.so.0: cannot open shared object file: No such file or directory thanking you On Wed,

Re: [OMPI users] regarding the problem occurred while running an mpi programs

2012-04-25 Thread Jeff Squyres
On Apr 25, 2012, at 11:06 AM, seshendra seshu wrote: > so should i need to create an user and run the mpi program. or how can i run > in cluster It is a "best practice" to not run real applications as root (e.g., MPI applications). Create a non-privlidged user to run your applications. Then b

Re: [OMPI users] regarding the problem occurred while running an mpi programs

2012-04-25 Thread seshendra seshu
so should i need to create an user and run the mpi program. or how can i run in cluster On Wed, Apr 25, 2012 at 4:45 PM, Doug Reeder wrote: > That is well documented as a BAD idea. > > On Apr 25, 2012, at 8:23 AM, seshendra seshu wrote: > > Hi > Yes i run in root. > > On Wed, Apr 25, 2012 at 4:2

Re: [OMPI users] regarding the problem occurred while running an mpi programs

2012-04-25 Thread Doug Reeder
That is well documented as a BAD idea. On Apr 25, 2012, at 8:23 AM, seshendra seshu wrote: > Hi > Yes i run in root. > > On Wed, Apr 25, 2012 at 4:20 PM, tyler.bal...@huskers.unl.edu > wrote: > Seshendra, > > Do you always run in root? If not your root bash file may not have the > correct

Re: [OMPI users] MPI doesn't recognize multiple cores available on multicore machines

2012-04-25 Thread Jeff Squyres
Any chance you could upgrade to Open MPI 1.5.5? It has a better version of the processor affinity stuff than the 1.4 series. On Apr 25, 2012, at 10:35 AM, Kyle Boe wrote: > I tried this and got the same result. Any other thing I might be missing...? > > >Did you tell it --bind-to-core? If not

Re: [OMPI users] MPI doesn't recognize multiple cores available on multicore machines

2012-04-25 Thread Kyle Boe
I tried this and got the same result. Any other thing I might be missing...? >Did you tell it --bind-to-core? If not, then the procs would be unbound to any particular core - so your code might well think they are "sharing" cores.

Re: [OMPI users] regarding the problem occurred while running an mpi programs

2012-04-25 Thread seshendra seshu
Hi Yes i run in root. On Wed, Apr 25, 2012 at 4:20 PM, tyler.bal...@huskers.unl.edu < tyler.bal...@huskers.unl.edu> wrote: > Seshendra, > > Do you always run in root? If not your root bash file may not have the > correct path settings, but that is a shot in the dark.. > ---

Re: [OMPI users] regarding the problem occurred while running an mpi programs

2012-04-25 Thread tyler.bal...@huskers.unl.edu
Seshendra, Do you always run in root? If not your root bash file may not have the correct path settings, but that is a shot in the dark.. From: users-boun...@open-mpi.org [users-boun...@open-mpi.org] on behalf of seshendra seshu [seshu...@gmail.com] Sent: Wednesd

[OMPI users] regarding the problem occurred while running an mpi programs

2012-04-25 Thread seshendra seshu
Hi, I have got the following error while running mpi programs Here for running an mpi program i used hostfile which specifies all the nodes in my cluster and out is my output file generated after "mpicc -o out basic.c". then i have got the following error. *[root@ip-10-80-106-70 openmpi-1.4.5]# m

Re: [OMPI users] regarding the installation

2012-04-25 Thread Jeffrey Squyres
On Apr 25, 2012, at 8:58 AM, seshendra seshu wrote: > I have installed openMPI on the master node and separately on client nodes > how can i check that all nodes can communicate for openmpi for running > parallel programs. Check out this prior post from this list: http://www.open-mpi.org/

[OMPI users] regarding the installation

2012-04-25 Thread seshendra seshu
Hi, I have installed openMPI on the master node and separately on client nodes how can i check that all nodes can communicate for openmpi for running parallel programs. And i need to use ssh for the connection establishment. i need the configuration of ssh for open mpi. thanking you, -- WITH