Example code using SCOTCH/ParMETIS and MPI

Asked by Christopher Laing on 2013-02-13

Hi,

I have some rather large meshes, and would like to use the parallel computing abilities of my University's cluster.

I have no idea how to go about running things in parallel, so would someone be able to point me in the direction of some example code using SCOTCH or ParMETIS and MPI?

Cheers,

Chris

Question information

Language:
English Edit question
Status:
Solved
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Solved by:
Anders Logg
Solved:
2013-02-22
Last query:
2013-02-22
Last reply:
2013-02-13
Best Anders Logg (logg) said : #1

On Wed, Feb 13, 2013 at 01:30:52AM -0000, Christopher Laing wrote:
> New question #221739 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/221739
> Hi,
> I have some rather large meshes, and would like to use the parallel computing abilities of my University's cluster.
> I have no idea how to go about running things in parallel, so would someone be able to point me in the direction of some example code using SCOTCH or ParMETIS and MPI?
> Cheers,
> Chris

You do not need to use SCOTCH, ParMETIS or MPI directly. That is
handled automatically by FEniCS/DOLFIN. Look at the demos for how to
write a PDE solver, then run it in parallel on your cluster using
mpirun in combination with whatever submit/queueing system is used on
your cluster.

Things can still go wrong, and the first hurdle will be to install all
software on your cluster, but this is how it should work.

--
Anders

Thanks Anders Logg, that solved my question.