×

Data communications for a collective operation in a parallel active messaging interface of a parallel computer

  • US 9,189,447 B2
  • Filed: 10/24/2012
  • Issued: 11/17/2015
  • Est. Priority Date: 12/03/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method of algorithm selection for data communications for a collective operation in a parallel active messaging interface (‘

  • PAMI’

    ) of a parallel computer, the parallel computer comprising a plurality of compute nodes that execute a parallel application, the PAMI comprising data communications endpoints, each endpoint comprising a specification of data communications parameters for a thread of execution on a compute node, including specifications of a client, a context, and a task, the compute nodes and the endpoints coupled for data communications through the PAMI and through data communications resources, the method comprising;

    associating in the PAMI data communications algorithms and bit masks so that each algorithm is associated with a separate bit mask, each bit in each mask representing the presence or absence of a characteristic of a collective instruction to be executed by use of the algorithm associated with that mask;

    initializing a Message Passing Interface (‘

    MPI’

    ) communicator;

    partially preconstructing, upon initializing the MPI communicator, a bit mask for each type of collective instruction;

    receiving in an origin endpoint of the PAMI a collective instruction, the collective instruction specifying transmission of a data communications message from the origin endpoint to at least one target endpoint;

    constructing by the origin endpoint a bit mask for the received collective instruction, each bit in the mask representing a characteristic of the received collective instruction, wherein constructing the bit mask for the received collective instruction further comprises constructing the bit mask for the received collective instruction from one of the partially preconstructed bit masks;

    selecting by the origin endpoint, from the associated data communications algorithms in dependence upon the constructed bit mask, a data communications algorithm for use in executing the received collective instruction; and

    executing the received collective instruction by the origin endpoint, including transmitting, according to the selected data communications algorithm from the origin endpoint to the target endpoint, the data communications message.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×