Skip to content

Conversation

@awlauria
Copy link
Contributor

@awlauria awlauria commented Aug 12, 2021

When submitting an mpi job with LSF option:

-R "affinity[core:membind=localprefer:distribute=balance]",

the affinity produced by ompi is incorrect.

This solution is to to drop memory binding options in
LSB_AFFINITY_HOSTFILE and keep them for future use.
Longer term there is an "RM_CPUTASK" env variable
that could be leveraged - but this would need additional
work.

Signed-off-by: Austen Lauria [email protected]
(cherry picked from commit b4b9b87)

When submitting an mpi job with LSF option:

-R "affinity[core:membind=localprefer:distribute=balance]",

the affinity produced by ompi is incorrect.

This solution is to to drop memory binding options in
LSB_AFFINITY_HOSTFILE and keep them for future use.
Longer term there is an "RM_CPUTASK" env variable
that could be leveraged - but this would need additional
work.

Signed-off-by: Austen Lauria <[email protected]>
(cherry picked from commit b4b9b87)
@awlauria awlauria added this to the v4.1.2 milestone Aug 12, 2021
rhc54 added a commit to rhc54/prrte that referenced this pull request Aug 12, 2021
rhc54 added a commit to rhc54/prrte that referenced this pull request Aug 13, 2021
Port of open-mpi/ompi#9232

Signed-off-by: Ralph Castain <[email protected]>
(cherry picked from commit 5deda5a)
@jsquyres jsquyres merged commit 4c6af84 into open-mpi:v4.1.x Aug 29, 2021
@awlauria awlauria deleted the affinity_v4.1.x branch March 17, 2022 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants