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.

Optimization Notice

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804

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

有关编译器优化的更完整信息,请参阅优化通知
选择粘滞按钮颜色: 
Orange (only for download buttons)