flux-framework/flux-coral2

cray-pals fails to edit LD_LIBRARY_PATH when flux is started from a flux-core source tree

Closed this issue · 0 comments

Problem: cray-pals fails to edit pmi_library_path from LD_LIBRARY_PATH when flux is run from a flux-core source tree.

This is because the simple PMI plugin fetches the directory using

flux_conf_builtin_get ("pmi_library_path", FLUX_CONF_AUTO)

while cray-pals fetches it with:

flux_conf_builtin_get ("pmi_library_path", FLUX_CONF_INSTALLED);

Since only the matching directory is removed by cray-pals, the removal only works when the FLUX_CONF_AUTO heuristic determines that the "installed" paths should be used.

To fix, change the cray-pals flag to FLUX_CONF_AUTO.