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.

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

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 < p nprocs, 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

For more complete information about compiler optimizations, see our Optimization Notice.