[Beowulf] METIS Partitioning within program

Mattijs Janssens m.janssens at opencfd.co.uk
Mon Aug 17 03:28:13 PDT 2009


> For my parallel code to run, I first make grid partitioning on command line
> then for running the parallel code I give hard-code the path of
> METIS-partition files. It is very cumbersome if I need to run code with
> different grids and for different -np value. Please tell me how to call
> METIS partitioning routine from within the program run so that whatever -np
> value would be we are at ease.

You could call the Metis routines directly from your code. See
http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/manual.pdf

Regards,

Mattijs



More information about the Beowulf mailing list