Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

pmpcol

Finds the collaborators of a process.

Syntax

call pmpcol( myproc, nprocs, iil, needil, neediu, pmyils, pmyius, colbrt, frstcl, lastcl )

Description

Using the output from pmpim2 and given the information on eigenvalue clusters, pmpcol finds the collaborators of myproc.

Product and Performance Information

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.

Notice revision #20201201

Input Parameters
myproc

INTEGER

The processor number, 0 myproc < nprocs.

nprocs

INTEGER

The total number of processors available.

iil

INTEGER

The index of the leftmost eigenvalue in the eigenvalue cluster.

needil

INTEGER

The leftmost position in the eigenvalue cluster needed by myproc.

neediu

INTEGER

The rightmost position in the eigenvalue cluster needed by myproc.

pmyils

INTEGER array

For each processor p, 0 < pnprocs, pmyils(p) is the index of the first eigenvalue in the eigenvalue cluster to be computed.

pmyils(p) equals zero if p stays idle.

pmyius

INTEGER array

For each processor p, pmyius(p) is the index of the last eigenvalue in the eigenvalue cluster to be computed.

pmyius(p) equals zero if p stays idle.

OUTPUT Parameters
colbrt

LOGICAL

Equals .TRUE. if myproc collaborates.

frstcl, lastcl

INTEGER

First and last collaborator of myproc .

myproc collaborates with:

frstcl, ..., myproc-1, myproc+1, ...,lastcl

If myproc = frstcl, there are no collaborators on the left. If myproc = lastcl, there are no collaborators on the right.

If frstcl = 0 and lastcl = nprocs-1, then myproc collaborates with everybody

See Also