主权项 |
1. A method of mapping processes to processors in a parallel computing environment where a parallel application is to be run on a cluster of nodes wherein a node in the cluster of nodes has multiple processors, the method comprising:
reviewing, using a compiler, in a Message Passing Interface (MPI), a point-to-point communication call between a first process of a parallel application and a second process of the parallel application; extracting, using the compiler, from the point-to-point communication call between the first process and the second process a source rank, a destination rank, and a transfer size comprising a number of bytes; extracting, using the compiler, responsive to a conditional statement preceding the call, the conditional statement; creating, using the compiler, a table, the table comprising an entry corresponding to the call, the entry comprising the conditional statement, the source rank, the destination rank, and the number of bytes; embedding, using the compiler, the table into an object file, wherein the embedding makes the table available to an MPI library; introducing, using the compiler, a function into the entry of the table in the object file, the function operating to instantiate the table at runtime. |