Skip to content

Commit

Permalink
Pull a couple of fixes from master branch
Browse files Browse the repository at this point in the history
Backport a couple of minor fixes that were included
in a PR to master branch.

Signed-off-by: Ralph Castain <[email protected]>
(cherry-picked from commit 52a47b4)
  • Loading branch information
rhc54 committed Oct 15, 2024
1 parent cd20892 commit 5f65e21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/mca/rmaps/base/rmaps_base_map_job.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ void prte_rmaps_base_map_job(int fd, short args, void *cbdata)
#else
} else if (HWLOC_OBJ_L1CACHE == options.maptype ||
HWLOC_OBJ_L2CACHE == options.maptype ||
HWLOC_OBJ_L1CACHE == options.maptype) {
HWLOC_OBJ_L3CACHE == options.maptype) {
/* add in #cache for each node */
PMIX_LIST_FOREACH (node, &nodes, prte_node_t) {
app->num_procs += options.pprn * prte_hwloc_base_get_nbobjs_by_type(node->topology->topo,
Expand Down
3 changes: 3 additions & 0 deletions src/mca/rmaps/round_robin/rmaps_rr_mappers.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,9 @@ int prte_rmaps_rr_byobj(prte_job_t *jdata, prte_app_context_t *app,
}

errout:
if (PRTE_ERR_SILENT == rc) {
return rc;
}
if (outofcpus) {
/* ran out of cpus */
pmix_show_help("help-prte-rmaps-base.txt",
Expand Down

0 comments on commit 5f65e21

Please sign in to comment.