Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 3/22/2024
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

void pmpcol(MKL_INT* myproc, MKL_INT* nprocs, MKL_INT* iil, MKL_INT* needil, MKL_INT* neediu, MKL_INT* pmyils, MKL_INT* pmyius, MKL_INT* colbrt, MKL_INT* frstcl, MKL_INT* lastcl);

Include Files

  • mkl_scalapack.h

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

The processor number, 0 myproc < nprocs.

nprocs

The total number of processors available.

iil

The index of the leftmost eigenvalue in the eigenvalue cluster.

needil

The leftmost position in the eigenvalue cluster needed by myproc.

neediu

The rightmost position in the eigenvalue cluster needed by myproc.

pmyils

array

For each processor p, 0 < pnprocs, pmyils[p-1] is the index of the first eigenvalue in the eigenvalue cluster to be computed.

pmyils[p-1] equals zero if p stays idle.

pmyius

array

For each processor p, pmyius[p-1] is the index of the last eigenvalue in the eigenvalue cluster to be computed.

pmyius[p-1] equals zero if p stays idle.

OUTPUT Parameters

colbrt

Non-zero if myproc collaborates.

frstcl, lastcl

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