发明名称 Assigning a unique identifier to a communicator
摘要 Creating, by a parent master process of a parent communicator, a child communicator, including configuring the child communicator with a child master process, wherein a communicator includes a collection of one or more processes executing on compute nodes of a distributed computing system; determining, by the parent master process, whether a unique identifier is available to assign to the child communicator; if a unique identifier is available to assign to the child communicator, assigning, by the parent master process, the available unique identifier to the child communicator; and if a unique identifier is not available to assign to the child communicator: retrieving, by the parent master process, an available unique identifier from a master process of another communicator in a tree of communicators and assigning the retrieved unique identifier to the child communicator.
申请公布号 US9348661(B2) 申请公布日期 2016.05.24
申请号 US201012721981 申请日期 2010.03.11
申请人 International Business Machines Corporation 发明人 Archer Charles J.;Carey James E.;Markland Matthew W.;Sanders Philip J.
分类号 G06F15/16;G06F9/54 主分类号 G06F15/16
代理机构 Kennedy Lenart Spraggins LLP 代理人 Lenart Edward J.;Johnson Grant A.;Kennedy Lenart Spraggins LLP
主权项 1. A method of assigning, in a message passing interface (MPI), a unique identifier to a communicator in a tree of communicators, a communicator comprising a collection of one or more processes executing on compute nodes of a distributed computing system, the method comprising: creating, by a parent master process of a parent communicator, a child communicator, including configuring the child communicator with a child master process; determining, by the parent master process, whether a unique identifier is available to assign to the child communicator; if a unique identifier is available to assign to the child communicator, assigning, by the parent master process, the available unique identifier to the child communicator; and if a unique identifier is not available to assign to the child communicator: retrieving, by the parent master process, an available unique identifier from a master process of another communicator in the tree of communicators and assigning the retrieved unique identifier to the child communicator, wherein retrieving an available unique identifier further comprises: traversing the tree of communicators and requesting, from a master process of each communicator, an available unique identifier for the child communicator until a master node of a communicator returns an available unique identifier to the parent master process, including: determining that a grandparent master process of a grandparent communicator does not have the available unique identifier; andretrieving the available unique identifier for the child communicator from the master process of another communicator in the tree of communicators;wherein after assignment of the retrieved unique identifier to the child communicator, the child communicator remains a child of the parent communicator, andwherein each communicator is an object connecting groups of processes in a communications session such that the groups of processes are able to communicate amongst one another via intercommunicator communications.
地址 Armonk NY US