Skip to content

Potential bug in broadcast sends on CMA builds #3884

@ritvikrao

Description

@ritvikrao

In src/arch/util/machine-common-core.C, line 650, in function CmiInterSendNetworkFunc, there is no return statement here:

#if CMK_USE_CMA
        if(cma_reg_msg && partition == CmiMyPartition() && CmiPeOnSamePhysicalNode(CmiMyPe(), destPE)) {
          if(CMI_CMA_MSGTYPE(msg) == CMK_REG_NO_CMA_MSG && cma_min_threshold <= size && size <= cma_max_threshold) {
            CmiSendMessageCma(&msg, &size); // size & msg are modififed
          }
        }
#endif 

This means that send to PEs on the same physical node will use (from line 692):

LrtsSendFunc(destNode, CmiGetPeGlobal(destPE,partition), size, msg, mode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions