Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ompi/info/info.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ int ompi_info_set (ompi_info_t *info, const char *key, const char *value)
int ompi_info_set_value_enum (ompi_info_t *info, const char *key, int value,
mca_base_var_enum_t *var_enum)
{
char *string_value;
const char *string_value;
int ret;

ret = var_enum->string_from_value (var_enum, value, &string_value);
Expand Down
2 changes: 1 addition & 1 deletion orte/mca/rmaps/rank_file/rmaps_rank_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static int orte_rmaps_rf_map(orte_job_t *jdata)
/* all would be oversubscribed, so take the least loaded one */
k = UINT32_MAX;
OPAL_LIST_FOREACH(nd, &node_list, orte_node_t) {
if (nd->num_procs < k) {
if (nd->num_procs < (orte_vpid_t)k) {
k = nd->num_procs;
node = nd;
}
Expand Down