[slurm-users] Slurm 19-05-4-1 and Centos8
Philip Kovacs
pkdevel at yahoo.com
Thu Dec 5 21:56:07 UTC 2019
I answered this question on Oct 28. Simply use lazy binding as required by slurm. See a copy below of my Oct 28 response to your original thread.Just adjust the %build section of the rpm spec to ensure that -Wl,-z,-lazy appears at the end of LDFLAGS. Problem solved.
> You probably built slurm with immediate binding instead of lazy binding. Check the tags in the plugin for BIND_NOW:
> $ readelf -d /usr/lib64/slurm/select_cons_tres.so | grep BIND_NOW
> If you find that tag, relink slurm with lazy binding instead, i.e. do not use any form of "now" linking, e.g. -Wl,-z,now.> Note that the linker will honor the last directive seen on the command line, so simply appending -Wl,-z,lazy to the end> should suffice.
On Thursday, December 5, 2019, 12:36:52 PM EST, Brian Andrus <toomuchit at gmail.com> wrote:
Tim claims it works...
I have compiled it, but when you try to run slurmd, it throws some
errors and will not start. From a previous thread:
While I can successfully build/run slurmctld, slurmd is failing because ALL of the SelectType libraries are missing symbols.
Example from select_cons_tres.so:
# slurmd
slurmd: error: plugin_load_from_file: dlopen(/usr/lib64/slurm/select_cons_tres.so): /usr/lib64/slurm/select_cons_tres.so:
undefined symbol: powercap_get_cluster_current_cap
slurmd: error: Couldn't load specified plugin name for select/cons_tres: Dlopen of plugin file failed
slurmd: fatal: Can't find plugin for select/cons_tres
# nm -D /usr/lib64/slurm/libslurmfull.so|grep powercap_
000000000010f7b8 T slurm_free_powercap_info_msg
0000000000060060 T slurm_print_powercap_info_msg
I am in the process of getting my client to purchase support so I can
have a ticket that gets attention :)
Brian
On 12/5/2019 4:17 AM, Shane Kelly wrote:
> Hi,
> Is there anybody who has actually managed to compile from rpm
> on Centos 8?
> And if so, could they share their recipe, please?
>
> Thanks in anticipation :-)
>
> Shane Kelly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20191205/e3155775/attachment.htm>
More information about the slurm-users
mailing list