Scotch Brand 5.1.10 User Manual

Page 76

Advertising
background image

(i + 1) of each node at level i, and linktab[i] is the cost of communication
between processors the first common ancestor of which belongs to this level.
See Section 5.4.2, page 24, for an example of such an architecture.

Return values

SCOTCH archTleaf

returns 0 if the tree-leaf target architecture has been suc-

cessfully built, and 1 else.

7.4.14

SCOTCH archTorus2D

Synopsis

int SCOTCH archTorus2D (SCOTCH Arch *

archptr,

const SCOTCH Num

xdimval,

const SCOTCH Num

ydimval)

scotchfarchtorus2d (doubleprecision (*)

archdat,

integer*num

xdimval,

integer*num

ydimval,

integer

ierr)

Description

The SCOTCH archTorus2D routine fills the SCOTCH Arch structure pointed to
by archptr with the description of a 2D torus architecture with xdimval ×
ydimval

processors.

Return values

SCOTCH archTorus2D

returns 0 if the 2D torus target architecture has been

successfully built, and 1 else.

7.4.15

SCOTCH archTorus3D

Synopsis

int SCOTCH archTorus3D (SCOTCH Arch *

archptr,

const SCOTCH Num

xdimval,

const SCOTCH Num

ydimval,

const SCOTCH Num

zdimval)

scotchfarchtorus3d (doubleprecision (*)

archdat,

integer*num

xdimval,

integer*num

ydimval,

integer*num

zdimval,

integer

ierr)

Description

The SCOTCH archTorus3D routine fills the SCOTCH Arch structure pointed to
by archptr with the description of a 3D torus architecture with xdimval ×
ydimval

× zdimval processors.

76

Advertising