base.blacs_gridinit {pbdBASE}R Documentation

Creating Grid From A System Context

Description

Creates a grid from a System Context obtained from a call to 'sys2blacs_handle'.

Usage

base.blacs_gridinit(
  SYSCTXT,
  NPROW,
  NPCOL,
  nprocs = pbdMPI::comm.size(comm),
  comm = .pbd_env$SPMD.CT$comm
)

Arguments

SYSCTXT

System context obtained from a call to 'sys2blacs_handle'

NPROW

Number of rows in the process grid

NPCOL

Number of columns in the process grid

nprocs

Number of processors in the communicator

comm

An MPI (not BLACS) communicator.

Value

A blacs context number


[Package pbdBASE version 0.5-3 Index]