2b7e983989
If btl-portals4 is configured to use logical mapping of ranks to physical nodes, then the endpoint must have the rank field set. This commit fixes a bug that caused the endpoint to have the nid/pid instead of the rank if the endpoint already exists.