Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 3/22/2024
Public
Document Table of Contents

blacs_gridinfo

Returns information on the current grid.

Syntax

call blacs_gridinfo( icontxt, nprow, npcol, myprow, mypcol )

Input Parameters

icontxt

INTEGER. Integer handle that indicates the context.

Output Parameters

nprow

INTEGER. Number of process rows in the current process grid.

npcol

INTEGER. Number of process columns in the current process grid.

myprow

INTEGER. Row coordinate of the calling process in the process grid.

mypcol

INTEGER. Column coordinate of the calling process in the process grid.

Description

This routine returns information on the current grid. If the context handle does not point at a valid context, all quantities are returned as -1.