fml  0.1-0
Fused Matrix Library
Enumerations

Public enumeration types. More...

Enumerations

enum  fml::gridshape { fml::PROC_GRID_SQUARE, fml::PROC_GRID_WIDE, fml::PROC_GRID_TALL }
 Supported process grid shapes for 2-dimensional BLACS grids. More...
 
enum  fml::blacsops { BLACS_SUM, BLACS_MAX, BLACS_MIN }
 Supported operations in reduce/allreduce.
 

Detailed Description

Public enumeration types.

Enumeration Type Documentation

◆ gridshape

Supported process grid shapes for 2-dimensional BLACS grids.

These are the values used in grid constructor (parameter 'gridtype').

Enumerator
PROC_GRID_SQUARE 

A square process grid, or as square as can be when the total number of MPI ranks is not a perfect square. In the latter case, the grid size will be taken to be \( p_1 \times p_2 \) where \( p_1 > p_2 \) are integers of whose difference is as small as possible such that their product is the total number of MPI ranks. For example, with 210 processes we have \( 210=7*5*3*2=15*14 \), and with 14 we have \( 14=7*2 \).

PROC_GRID_WIDE 

A grid with 1 row and as many columns as there are MPI ranks.

PROC_GRID_TALL 

A grid with 1 column and as many rows as there are MPI ranks.