tags:

views:

21

answers:

2

I have a setup a clustered netowork in my college using PelicanHPC and then run various mpi programs , but at home i intend to practice many other . is there a way i can run mpi programs in my own system .

PS: i work on ubuntu (Jaunty)

A: 

This will depend on the MPI runtime you use (you will need the runtime - something like mpich). I guess in any case you can run the program in several processes, but if you run more processes then you have processor cores you will have less parallelism.

sharptooth
well i have intel core 2 duo 32 bit machine . can i run in different cores and also check the performace ? if yes is there any tool which can help me achive that ?under the pretext of runtime , is mpich only runtime available for mpi programs .. or there are others too ?
Rahul
I'm not really sure - you'll have to read the MPI runtime documentation - but it's higly likely you can run the program as two processes on two cores. mpich is definitely not the only MPI runtime, there're others, including LAM/MPI, Intel MPI and whatever you can find with "MPI runtime" Google search.
sharptooth
A: 

So according to http://idea.uab.es/mcreel/ParallelKnoppix/, on PelicanHPC "The LAM-MPI and OpenMPI implementations of MPI are installed."

I don't know about LAM-MPI, but I know OpenMPI will automatically balance threads across multiple processors, as long as you don't ask for more threads than processors. This means that with a dual-core computer, you can "mpirun -n 2" to your heart's content. However, if you want to "mpirun -n 8" with true parallelism, you'd need 4 dual-core boxes.

sethjust