Re: [OMPI users] Application in a cluster

2011-10-20 Thread Gus Correa
Hi Jorge Aha! A serial executable. I guessed it right! :) But Ralph certainly came up with the simpler solution: use mpirun. As for the other question: If you are using Torque/PBS to launch the job, put this line in your PBS script: cd $PBS_O_WORKDIR which will put you in the work director

Re: [OMPI users] Application in a cluster

2011-10-20 Thread Ralph Castain
On Oct 20, 2011, at 10:33 AM, Jorge Jaramillo wrote: > Thanks for all your suggestions. > > Yes, indeed what I'm trying to do is execute a serial program. All the > documentation you mention was pretty useful. > I have another question, if mpirun launches several copies of the program on > the

Re: [OMPI users] Application in a cluster

2011-10-20 Thread Jorge Jaramillo
Thanks for all your suggestions. Yes, indeed what I'm trying to do is execute a serial program. All the documentation you mention was pretty useful. I have another question, if mpirun launches several copies of the program on the different hosts, does it mean that I must have a copy of the program

Re: [OMPI users] Application in a cluster

2011-10-19 Thread Gus Correa
Agreed. How could I forget to mention mpirun?! :( I don't know what Jorge is trying to achieve, but with mpirun it is easy to launch multiple copies of serial programs, or different serial programs, with command line options such as this: mpirun -np 1 --host a hostname : -np 2 --host b,c uptim

Re: [OMPI users] Application in a cluster

2011-10-19 Thread Ralph Castain
If that is what you are trying to do, mpirun will do it just fine too - it doesn't have to be an MPI program. On Oct 19, 2011, at 3:37 PM, Gus Correa wrote: > Jorge > > Besides what Reuti and Eugene said, in case what you're looking for > is a mechanism to launch several copies of a > serial [n

Re: [OMPI users] Application in a cluster

2011-10-19 Thread Gus Correa
Jorge Besides what Reuti and Eugene said, in case what you're looking for is a mechanism to launch several copies of a serial [non-parallel] program in a cluster, you could try these alternatives: 1) Launch several jobs to run the same program, using a job scheduler like Torque or Grid Engine.

Re: [OMPI users] Application in a cluster

2011-10-19 Thread Reuti
Hi, Am 19.10.2011 um 17:57 schrieb Jorge Jaramillo: > Hello everyone, I have a doubt about how to execute a parallel application on > a cluster. I used the 'mpirun' to execute some applications and they worked, > but I guess this command only is useful with MPI applications. correct. > My qu

Re: [OMPI users] Application in a cluster

2011-10-19 Thread Eugene Loh
Maybe someone else on this list has a better idea what you're trying to do, but I'll attempt to answer your question. MPI is basically a set of library calls that can be used for processes to communicate with one another. Of course, a program need not have any MPI calls in it, but if you want

[OMPI users] Application in a cluster

2011-10-19 Thread Jorge Jaramillo
Hello everyone, I have a doubt about how to execute a parallel application on a cluster. I used the 'mpirun' to execute some applications and they worked, but I guess this command only is useful with MPI applications. My question is, How do I execute a program that has no MPI statements on the clus