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 question is, How do I execute a program that has no MPI statements on the 
> cluster?

"In the cluster" could also mean "How to submit a job to a cluster, which would 
then in turn runs local on a granted machine". But I think you mean this in the 
context, that you have just a bunch of machines with just MPI installed.


> If it is not possible, how do I change the structure of the program so it can 
> be executed as a parallel application?

This depends on the application: sometimes you could just parallelize some 
loops, in some cases you have to change the used algorithm to replace it with 
one which can easily be parallelized, maybe the data structure needs to be 
changed and you have to think about how to distribute data to the nodes,...

It might also be, that using Open MP (which works only on one and the same 
machine) will give you a parallel version faster. http://openmp.org/wp/ 
Nowadays many compilers support it. Nevertheless you have to touch your 
application by hand and modify the source.

-- Reuti

Reply via email to