Re: [OMPI users] Problem with running openMPI program

2009-04-29 Thread Gus Correa
Hi Ankush You can run the MITgcm ocean model test cases and the CAM3 atmospheric model test with two processors only, but the codes scale well to any number of processors. They are "real life" applications, but not too hard to get to work. It will take some reading of their README and INSTALL fil

Re: [OMPI users] Problem with running openMPI program

2009-04-29 Thread Ankush Kaul
@Gus the applications in the links u have sent are really high level n i believe really expensive too as i will have 2 have a physical apparatus for various measurements along with the cluster. Am i right?

Re: [OMPI users] Problem with running openMPI program

2009-04-29 Thread Ankush Kaul
Are there any application that i can implement on a small level, in a lab or something??? Also what do for clustering web servers? On Wed, Apr 29, 2009 at 2:46 AM, Gus Correa wrote: > Hi Ankush > > Glad to hear that your MPI and cluster project were successful. > > I don't know if you would ca

Re: [OMPI users] Problem with running openMPI program

2009-04-28 Thread Gus Correa
Hi Ankush Glad to hear that your MPI and cluster project were successful. I don't know if you would call these "mathematical computation" or "real life applications" of MPI and clusters, but here are a few samples I am familiar with (Earth Science): Weather forecast: http://www.wrf-model.org/in

Re: [OMPI users] Problem with running openMPI program

2009-04-28 Thread Jeff Squyres
On Apr 28, 2009, at 1:29 PM, Ankush Kaul wrote: I would like to know one more thing, what are real life applications that i can use the cluster for (except mathematical computation)? Can i use if for my web server, if yes then how? Not really. MPI is just about message passing -- it's fre

Re: [OMPI users] Problem with running openMPI program

2009-04-28 Thread Ankush Kaul
Thanks everyone(esp Gus and Jeff) for the support and guidance. We are almost at the verge of completing our project which could have not been possible without all u guys. I would like to know one more thing, what are real life applications that i can use the cluster for (except mathematical compu

Re: [OMPI users] Problem with running openMPI program

2009-04-23 Thread Jeff Squyres
Excellent answer. One addendum -- we had a really nice FAQ entry about this kind of stuff on the LAM/MPI web site, which I was horrified to see that we had not copied to the Open MPI site. So I copied it over this morning. :-) Have a look at these 3 FAQ (brand new) entries: http://w

Re: [OMPI users] Problem with running openMPI program

2009-04-23 Thread Gus Correa
Hi Ankush Jeff already sent clarifications about image processing, and the portable API nature of OpenMPI (and other MPI implementations). As for "mpicc: command not found" this is again a problem with your PATH. Remember the "locate" command? :) Find where mpicc is installed, and put that dire

Re: [OMPI users] Problem with running openMPI program

2009-04-23 Thread Jeff Squyres
MPI is an API specification, meaning that correctly-written MPI applications are source-code compatible across all MPI implementations. Hence, these tutorial examples will compile and run with Open MPI just as well as they will with LAM/MPI (I actually helped write those tutorial examples

Re: [OMPI users] Problem with running openMPI program

2009-04-23 Thread Ankush Kaul
i have gone through that course, but i still am not at a stage where i can develop a MPI program, so was looking for some IP programs on the net. Will try the imageproc.cprogram which i found http://lam-mpi.lzu.edu.cn/tutorials/nd/part1/

Re: [OMPI users] Problem with running openMPI program

2009-04-23 Thread Jeff Squyres
Yes, they will run. Note that these are toy image processing examples; they are no substitute for a real image processing application. You might want to look at a full MPI tutorial to get an understanding of MPI itself: http://ci-tutor.ncsa.uiuc.edu/login.php Register (it's free), log

Re: [OMPI users] Problem with running openMPI program

2009-04-23 Thread Jeff Squyres
On Apr 23, 2009, at 3:40 AM, Ankush Kaul wrote: I am again stuck on a problem, i connected a new node to my cluster and installed CentOS 5.2 on it. after that i use yum to install openmpi,openmpi-libs and openmpi-devel sucessfully. Be sure that you have the same version of Open MPI installe

Re: [OMPI users] Problem with running openMPI program

2009-04-23 Thread Ankush Kaul
I found some programs on this link : http://lam-mpi.lzu.edu.cn/tutorials/nd/part1/ will these program run on my openmpi cluster? actually i want to run some image processing program on my cluster, as i cannot write the entire code of the program can anyone tell where can i get ip programs. I kno

Re: [OMPI users] Problem with running openMPI program

2009-04-23 Thread Ankush Kaul
@Gus, Eugene I read all you mails and even followed the same procedure, it was blas that was giving the problem. Thanks I am again stuck on a problem, i connected a new node to my cluster and installed CentOS 5.2 on it. after that i use yum to install openmpi,openmpi-libs and openmpi-devel sucess

Re: [OMPI users] Problem with running openMPI program

2009-04-22 Thread Gus Correa
Hi Do "yum list | grep mpi" to find the correct package names. Then uninstall them with "yum remove" using the correct package name. Don't use yum to install different flavors of MPI. Things like mpicc, mpirun, MPI libraries, man pages, etc, will get overwritten in /usr or /usr/local. If you wan

Re: [OMPI users] Problem with running openMPI program

2009-04-22 Thread Gus Correa
Hi This is a MPICH2 error, not OpenMPI. I saw you sent the same message to the MPICH list. It looks like you are mixed both MPI flavors. Gus Correa - Gustavo Correa Lamont-Doherty Earth Observatory - Columbia University Palisade

Re: [OMPI users] Problem with running openMPI program

2009-04-22 Thread Gus Correa
Hi Ankush I second Eugene's comments. I already sent you on previous emails to this thread all relevant information on where to get HPL from Netlib (http://netlib.org/benchmark/hpl/), Goto BLAS from TACC (http://www.tacc.utexas.edu/resources/software/), and the standard BLAS from Netlib (http://

Re: [OMPI users] Problem with running openMPI program

2009-04-22 Thread Eugene Loh
Ankush Kaul wrote: @gus we are not able to make hpl sucessfully. i think it has to do something with blas i cannot find blas tar file on the net, i found rpm but de installation steps is with tar file. First of all, this mail list is for Open MPI issues. On this list are people who are

Re: [OMPI users] Problem with running openMPI program

2009-04-22 Thread Ankush Kaul
@gus we are not able to make hpl sucessfully. i think it has to do something with blas i cannot find blas tar file on the net, i found rpm but de installation steps is with tar file. #*locate blas* gave us the following result *[root@ccomp1 hpl]# locate blas /hpl/include/hpl_blas.h /hpl/makes/M

Re: [OMPI users] Problem with running openMPI program

2009-04-22 Thread Ankush Kaul
i feel the above problem occured due 2 installing mpich package, now even nomal mpi programs are not running. What should we do? we even tried *yum remove mpich* but it says no packages to remove. Please Help!!! On Wed, Apr 22, 2009 at 11:34 AM, Ankush Kaul wrote: > We are facing another problem,

Re: [OMPI users] Problem with running openMPI program

2009-04-22 Thread Ankush Kaul
We are facing another problem, we were tryin to install different benchmarking packages now whenever we try to run *mpirun* command (which was working perfectly before) we get this error: *usr/local/bin/mpdroot: open failed for root's mpd conf filempdtrace (__init__ 1190): forked process failed; s

Re: [OMPI users] Problem with running openMPI program

2009-04-21 Thread Gus Correa
Hi Ankush Ankush Kaul wrote: @Eugene they are ok but we wanted something better, which would more clearly show de diff in using a single pc and the cluster. @Prakash i had prob with running de programs as they were compiling using mpcc n not mpicc @gus we are tryin 2 figure out de hpl conf

Re: [OMPI users] Problem with running openMPI program

2009-04-21 Thread Eugene Loh
Ankush Kaul wrote: @Eugene they are ok but we wanted something better, which would more clearly show de diff in using a single pc and the cluster. Another option is the NAS Parallel Benchmarks.  They are older, but well known, self-verifying, report performance, and relatively small and acce

Re: [OMPI users] Problem with running openMPI program

2009-04-21 Thread Ankush Kaul
@Eugene they are ok but we wanted something better, which would more clearly show de diff in using a single pc and the cluster. @Prakash i had prob with running de programs as they were compiling using mpcc n not mpicc @gus we are tryin 2 figure out de hpl config, its quite complicated, also de l

Re: [OMPI users] Problem with running openMPI program

2009-04-21 Thread Jeff Squyres
On Apr 20, 2009, at 11:08 AM, Ankush Kaul wrote: i try to run mpicc-vt -c hello.c -o hello but it gives a error bash: mpicc-vt: command not found It sounds like your Open MPI installation was not built with VampirTrace support. Note that OMPI only included VT in Open MPI v1.3 and later.

Re: [OMPI users] Problem with running openMPI program

2009-04-20 Thread Gus Correa
Hi Amjad, list HPL has some quirks to install, as I just found out. It can be done, though. I had used a precompiled version of HPL on my Rocks cluster before, but that version is no longer being distributed, unfortunately. Go to the HPL "setup" directory, and run the script "make_generic". This

Re: [OMPI users] Problem with running openMPI program

2009-04-20 Thread Prakash Velayutham
Hi Ankush, You can get some example MPI programs from http://www.pdc.kth.se/training/Tutor/MPI/Templates/index-frame.html . You can compare the performance of these in a MPI (single processor, multiple processors) setting and non-MPI (serial) setting to show how it can help their research.

Re: [OMPI users] Problem with running openMPI program

2009-04-20 Thread Eugene Loh
Ankush Kaul wrote: let me describe what i want to do. i had taken linux clustering as my final year engineering project as i m really iintrested in 0networking. to tell de truth our college does not have any professor with knowledge of clustering. the aim of our project was just to make a

Re: [OMPI users] Problem with running openMPI program

2009-04-20 Thread Ankush Kaul
let me describe what i want to do. i had taken linux clustering as my final year engineering project as i m really iintrested in 0networking. to tell de truth our college does not have any professor with knowledge of clustering. the aim of our project was just to make a cluster, which we did. no

Re: [OMPI users] Problem with running openMPI program

2009-04-20 Thread Gus Correa
Hi Ankush Ankush Kaul wrote: Thanks a lot, I m implementing the passwordless cluster I m also tryin different benchmarking software n got fed up of all the probs in all de sofwares i try. will list few: *1) VampirTrace* I extracted de tar in /vt then followed following steps I never use

Re: [OMPI users] Problem with running openMPI program

2009-04-20 Thread Ankush Kaul
Thanks a lot, I m implementing the passwordless cluster I m also tryin different benchmarking software n got fed up of all the probs in all de sofwares i try. will list few: *1) VampirTrace* I extracted de tar in /vt then followed following steps *$ ./configure --prefix=/vti* [...lots

Re: [OMPI users] Problem with running openMPI program

2009-04-20 Thread Gus Correa
Hi Ankush Please read the FAQ I sent you in the previous message. That is the answer to your repeated question. OpenMPI (and all MPIs that I know of) requires passwordless connections. Your program fails because you didn't setup that. If it worked with a single compute node, that was most likely

Re: [OMPI users] Problem with running openMPI program

2009-04-20 Thread Gus Correa
Hi Ankush Ankush Kaul wrote: Also how can i find out where are my mpi libraries and include directories? If you configured OpenMPI with --prefix=/some/dir they are in /some/dir/lib and /some/dir/include, whereas the executables (mpicc, mpiexec, etc) are in /some/dir/bin. Otherwise OpenMPI defa

Re: [OMPI users] Problem with running openMPI program

2009-04-19 Thread Ankush Kaul
Also how can i find out where are my mpi libraries and include directories? On Sat, Apr 18, 2009 at 2:29 PM, Ankush Kaul wrote: > Let me explain in detail, > > when we had only 2 nodes, 1 master (192.168.67.18) + 1 compute node > (192.168.45.65) > my openmpi-default-hostfile looked like* > 192.1

Re: [OMPI users] Problem with running openMPI program

2009-04-18 Thread Ankush Kaul
Let me explain in detail, when we had only 2 nodes, 1 master (192.168.67.18) + 1 compute node (192.168.45.65) my openmpi-default-hostfile looked like* 192.168.67.18 slots=2 192.168.45.65 slots=2* after this on running the command *miprun /work/Pi* on master node we got * # root@192.168.45.65 pass

Re: [OMPI users] Problem with running openMPI program

2009-04-17 Thread Gus Correa
Ankush You need to setup passwordless connections with ssh to the node you just added. You (or somebody else) probably did this already on the first compute node, otherwise the MPI programs wouldn't run across the network. See the very last sentence on this FAQ: http://www.open-mpi.org/faq/?

Re: [OMPI users] Problem with running openMPI program

2009-04-17 Thread Ankush Kaul
Thank you, i m reading up on de tools u suggested. I am facing another problem, my cluster is working fine with 2 hosts (1 master + 1 compute node) but when i tried 2 add another node (1 master + 2 compute node) its not working. it works fine when i give de command mpirun -host /work/Pi but when

Re: [OMPI users] Problem with running openMPI program

2009-04-14 Thread Eugene Loh
Ankush Kaul wrote: Finally, after mentioning the hostfiles the cluster is working fine. We downloaded few benchmarking softwares but i would like to know if there is any GUI based benchmarking software so that its easier to demonstrate the working of our cluster while displaying our cluster.

Re: [OMPI users] Problem with running openMPI program

2009-04-14 Thread Jeff Squyres
On Apr 14, 2009, at 2:57 AM, Ankush Kaul wrote: Finally, after mentioning the hostfiles the cluster is working fine. We downloaded few benchmarking softwares but i would like to know if there is any GUI based benchmarking software so that its easier to demonstrate the working of our cluster

Re: [OMPI users] Problem with running openMPI program

2009-04-14 Thread Ankush Kaul
Finally, after mentioning the hostfiles the cluster is working fine. We downloaded few benchmarking softwares but i would like to know if there is any GUI based benchmarking software so that its easier to demonstrate the working of our cluster while displaying our cluster. Regards Ankush

Re: [OMPI users] Problem with running openMPI program

2009-04-13 Thread Gus Correa
Ankush Kaul wrote: I am able to run the program on de server node, but in de compute node the program only runs in the directory on which the de /work is mounted (/work on de server contains de Pi program). Also while running Pi it shows de process running only on server not compute node(us

Re: [OMPI users] Problem with running openMPI program

2009-04-13 Thread Gus Correa
Hi Ankush To test if OpenMPI works, compile and run the examples (hello_c, etc) in the examples/ directory (on the directory where you decompressed the OpenMPI tarball, not where you installed OpenMPI). Compile them with mpicc, etc, and run them with mpiexec, all from OpenMPI. Using full path na

Re: [OMPI users] Problem with running openMPI program

2009-04-11 Thread Ankush Kaul
I am able to run the program on de server node, but in de compute node the program only runs in the directory on which the de /work is mounted (/work on de server contains de Pi program). Also while running Pi it shows de process running only on server not compute node(using top) On Sat, Apr 11,

Re: [OMPI users] Problem with running openMPI program

2009-04-11 Thread Ankush Kaul
can you please suggest a simple benchmarking software, are there any gui benchmarking softwares available? On Tue, Apr 7, 2009 at 2:29 PM, Ankush Kaul wrote: > Thank you sir, thanks a lot. > > The information you provided helped us a lot. Am currently going through > the OpenMPI FAQ and will con

Re: [OMPI users] Problem with running openMPI program

2009-04-07 Thread Ankush Kaul
Thank you sir, thanks a lot. The information you provided helped us a lot. Am currently going through the OpenMPI FAQ and will contact you in case of any doubts. Regards, Ankush Kaul

Re: [OMPI users] Problem with running openMPI program

2009-04-06 Thread Gus Correa
Hi Ankush Ankush Kaul wrote: I am not able to check if NFS export/mount of /tmp is working, when i give the command *ssh 192.168.45.65 192.168.67.18* i get the error : bash: 192.168.67.18 : command not found The ssh command syntax above is wrong. Use only one IP addre

Re: [OMPI users] Problem with running openMPI program

2009-04-06 Thread Ankush Kaul
I am not able to check if NFS export/mount of /tmp is working, when i give the command *ssh 192.168.45.65 192.168.67.18* i get the error : bash: 192.168.67.18: command not found let me explain what i understood using an example. First, i make a folder '/work directory' on my master node. Then i

Re: [OMPI users] Problem with running openMPI program

2009-04-06 Thread Gus Correa
Hi Ankush If I remember right, mpirun will put you on your home directory, not on /tmp, when it starts your ssh session. To run on /tmp (or on /mnt/nfs) you may need to use "-path" option. Likewise, you may want to give mpirun a list of hosts (-host option) or a hostfile (-hostfile option), to s

Re: [OMPI users] Problem with running openMPI program

2009-04-06 Thread Ankush Kaul
Thank you sir, one more thing i am confused about, suppose i have 2 run a 'pi' program using open mpi, where do i place the program? currently i have placed it in /tmp folder on de master node. this /tmp folder is mounted on /mnt/nfs of the compute node. i run de progam from the tmp folder on de

Re: [OMPI users] Problem with running openMPI program

2009-04-06 Thread John Hearns
2009/4/6 Ankush Kaul : >> Also how do i come to know that the program is using resources of both the > nodes? Log into the second node before you start the program. Run 'top' Seriously - top is a very, very useful utility.

Re: [OMPI users] Problem with running openMPI program

2009-04-06 Thread Ankush Kaul
Thank you Sir the problem was with the paths of 'bin' and 'lib' folders so i used de *mpirun --prefix* command. I want to run a program 'pi' now using the cluster, so where do i place de file on de master and the compute nodes? Also how do i come to know that the program is using resources of both

Re: [OMPI users] Problem with running openMPI program

2009-04-04 Thread Jeff Squyres
It might be best to: 1. Setup a non-root user to run MPI applications 2. Setup SSH keys between the hosts for this non-root user so that you can "ssh uptime" and not be prompted for a password/ passphrase This should help. On Apr 4, 2009, at 5:51 AM, Ankush Kaul wrote: I followed the st