Hitmap 1.3
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Macros Groups Pages
Functions
hit_layoutMetis.c File Reference
#include <stdio.h>
#include <math.h>
#include <hit_layout.h>
#include <hit_layoutP.h>
#include <hit_funcop.h>
#include <hit_allocP.h>
#include <hit_com.h>
#include <hit_cshape.h>
#include <hit_bshape.h>
Include dependency graph for hit_layoutMetis.c:

Go to the source code of this file.

Functions

void hit_sparseShapeBcastInternal (HitShape *shape, HitTopology topo)
 
HitLayout hit_layout_plug_layMetis (HitTopology topo, HitShape *shapeP)
 

Detailed Description

Metis layout plug-in. This layout uses the Metis partition library to map the elements of a sparse shape domain into the processors of a virtual topology.

Version
1.0
Author
Javier Fresno Bausela
Date
Jun 2011

Definition in file hit_layoutMetis.c.

Function Documentation

HitLayout hit_layout_plug_layMetis ( HitTopology  topo,
HitShape shape 
)

Use METIS library to distribute a graph into groups of processors.

Parameters
topothe topology.
shapethe sparse shape that represents the graph.
Returns
a list layout

Definition at line 131 of file hit_layoutMetis.c.

Here is the call graph for this function:

void hit_sparseShapeBcastInternal ( HitShape shape,
HitTopology  topo 
)

Performs a Broadcast communication to share a sparse shape.

Definition at line 62 of file hit_layoutMetis.c.

Here is the call graph for this function:

Here is the caller graph for this function: