Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple commits #1672

Merged
merged 10 commits into from
Feb 9, 2023
Merged

Multiple commits #1672

merged 10 commits into from
Feb 9, 2023

Conversation

rhc54
Copy link
Contributor

@rhc54 rhc54 commented Feb 9, 2023

Correct default binding for map-by node/slot

If we are mapping to a non-object (i.e., node or slot)
and the binding target was not specified, then set the
default binding (if supported) to cpu for nprocs <= 2
and to NUMA for nprocs > 2.

Signed-off-by: Ralph Castain rhc@pmix.org
(cherry picked from commit ec471d9)

Provide better error message for cross-package binding

Deal with mapping by something other than objects to detect
cross-package binding. Provide a better error message when
we encounter that situation.

Signed-off-by: Ralph Castain rhc@pmix.org
(cherry picked from commit 081890a)

Add missing command line directives

Add a couple of missing directives to the
output category sanity checker.

Signed-off-by: Ralph Castain rhc@pmix.org
(cherry picked from commit c561a60)

Fix minor issues found in tests.

  • Don't accidentally remove source files in make clean
  • Silence compiler warnings

Signed-off-by: Samuel K. Gutierrez samuel@lanl.gov
(cherry picked from commit 5d030c9)

Silence compiler warning in test/connect.

Co-authored-by: Ralph Castain rhc@pmix.org
Signed-off-by: Samuel K. Gutierrez samuel@lanl.gov
(cherry picked from commit 4f652de)

Silence compiler warnings in examples.

Signed-off-by: Samuel K. Gutierrez samuel@lanl.gov
(cherry picked from commit 83ddaf9)

Use exit macros in example dmodex.

  • Use exit macros in example dmodex
  • correct exit status in error paths

Signed-off-by: Samuel K. Gutierrez samuel@lanl.gov
(cherry picked from commit 2b91998)

Remove antiquated code that can cause problems

Now that hwloc is providing better definition of
"allowed" cpus, we no longer want/need to be
doing an explicit read of the local affinity.
This was incorrectly being applied to all
daemons because we assumed that any externally
applied binding (e.g., cgroup) would apply to
all locations - mpirun as well as compute
nodes. Sometimes isn't true, so just avoid
the complications.

Signed-off-by: Ralph Castain rhc@pmix.org
(cherry picked from commit 5712e2e)

Update sphinx requirements

Crossport of open-mpi/ompi#11395

Signed-off-by: Ralph Castain rhc@pmix.org
(cherry picked from commit 8bb7fa1)

@rhc54
Remove the PMIX_SIZE_ESTIMATE support
d5cec23

No longer required

Signed-off-by: Ralph Castain rhc@pmix.org
(cherry picked from commit rhc54@10496e3)

rhc54 and others added 10 commits February 8, 2023 16:30
If we are mapping to a non-object (i.e., node or slot)
and the binding target was not specified, then set the
default binding (if supported) to cpu for nprocs <= 2
and to NUMA for nprocs > 2.

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit ec471d9)
Deal with mapping by something other than objects to detect
cross-package binding. Provide a better error message when
we encounter that situation.

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit 081890a)
Add a couple of missing directives to the
output category sanity checker.

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit c561a60)
* Don't accidentally remove source files in make clean
* Silence compiler warnings

Signed-off-by: Samuel K. Gutierrez <samuel@lanl.gov>
(cherry picked from commit 5d030c9)
Co-authored-by: Ralph Castain <rhc@pmix.org>
Signed-off-by: Samuel K. Gutierrez <samuel@lanl.gov>
(cherry picked from commit 4f652de)
Signed-off-by: Samuel K. Gutierrez <samuel@lanl.gov>
(cherry picked from commit 83ddaf9)
* Use exit macros in example dmodex
* correct exit status in error paths

Signed-off-by: Samuel K. Gutierrez <samuel@lanl.gov>
(cherry picked from commit 2b91998)
Now that hwloc is providing better definition of
"allowed" cpus, we no longer want/need to be
doing an explicit read of the local affinity.
This was incorrectly being applied to all
daemons because we assumed that any externally
applied binding (e.g., cgroup) would apply to
all locations - mpirun as well as compute
nodes. Sometimes isn't true, so just avoid
the complications.

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit 5712e2e)
Crossport of open-mpi/ompi#11395

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit 8bb7fa1)
No longer required

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit 10496e3)
@rhc54 rhc54 merged commit 2fd7e75 into openpmix:v3.0 Feb 9, 2023
@rhc54 rhc54 deleted the cmr30/up branch February 9, 2023 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants