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

Allow dynamic loading of slurm_conf on Anvil. #1850

Merged
merged 3 commits into from
Jul 22, 2024

Conversation

joaander
Copy link
Member

@joaander joaander commented Jul 19, 2024

Description

Set the RTLD_NOW and RTLD_GLOBAL ldopen flags.

Motivation and context

After a recent update on Purdue Anvil, HOOMD-blue fails to import with the error /usr/lib64/slurm/auth_munge.so: undefined symbol: slurm_conf.

From what I can tell, this is due to compile-time options for SLURM on Anvil which are outside our control:

Setting RTLD_GLOBAL may cause segfaults, so I limit this setting to only Anvil. Should users report problems on Anvil, we can investigate other options.

How has this been tested?

I executed hoomd-benchmarks on Anvil.

Change log

Fixed:

* Prevent ``/usr/lib64/slurm/auth_munge.so: undefined symbol: slurm_conf`` error on Purdue Anvil
  (`#1850 <https://github.com/glotzerlab/hoomd-blue/pull/1850>`__).

Checklist:

@joaander joaander requested review from a team, tcmoore3, SchoeniPhlippsn and shihkual and removed request for a team July 19, 2024 18:27
@joaander joaander added validate Execute long running validation tests on pull requests release Build and unit test all support compiler/python configurations labels Jul 19, 2024
@joaander joaander merged commit 415dae8 into trunk-patch Jul 22, 2024
60 checks passed
@joaander joaander deleted the fix-slurm-conf-error branch July 22, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Build and unit test all support compiler/python configurations validate Execute long running validation tests on pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant