https://github.com/open-mpi/ompi/blob/master/orte/mca/oob/ud/oob_ud_qp.c#L53 You can't use static values since it may not work on a certain platforms. You have to query the size first and then use it. (Link to the original report: https://github.com/openucx/ucx/issues/551#issuecomment-171326250)