You are not logged in.

#1 2018-01-05 02:12:26

Never
Member
Registered: 2008-07-01
Posts: 103

Slurm Can't find plugin for select/linear

I have been following this guide to install Slurm on my node. I tried merely copying the slurmd example to slurm.conf and running sudo start slurmd, as per the guide, that generated this error output in journalctl:

Dec 29 19:16:22 Node_2 slurmd[27681]: error: plugin_load_from_file: dlopen(/usr/lib/slurm/select_linear.so): /usr/lib/slurm/select_linear.so: undefined symbol: slurm_job_preempt_mode
Dec 29 19:16:22 Node_2 slurmd[27681]: error: Couldn't load specified plugin name for select/linear: Dlopen of plugin file failed
Dec 29 19:16:22 Node_2 systemd[1]: slurmd.service: Control process exited, code=exited status=1
Dec 29 19:16:22 Node_2 slurmd[27681]: fatal: Can't find plugin for select/linear
Dec 29 19:16:22 Node_2 systemd[1]: slurmd.service: Failed with result 'exit-code'.
Dec 29 19:16:22 Node_2 systemd[1]: Failed to start Slurm node daemon.

However, I do have this plugin, I can see it:

sudo ls /usr/lib/slurm/select_linear.so
/usr/lib/slurm/select_linear.so

I also tried, sudo slurmd -cDvvvvv and got the following output.

slurmd: error: plugin_load_from_file: dlopen(/usr/lib/slurm/select_linear.so): /usr/lib/slurm/select_linear.so: undefined symbol: slurm_job_preempt_mode
slurmd: error: Couldn't load specified plugin name for select/linear: Dlopen of plugin file failed
slurmd: fatal: Can't find plugin for select/linear

I also tried sudo slurmctld -cDvvvvv and got this:

slurmctld: debug:  Log file re-opened
slurmctld: debug:  creating clustername file: /var/spool/slurm/ctld/clustername
slurmctld: Stack size set to 8388608
slurmctld: slurmctld version 17.11.0 started on cluster linux
slurmctld: debug3: Trying to load plugin /usr/lib/slurm/crypto_munge.so
slurmctld: Munge cryptographic signature plugin loaded
slurmctld: debug3: Success.
slurmctld: debug3: Trying to load plugin /usr/lib/slurm/select_linear.so
slurmctld: debug3: Success.
slurmctld: debug3: Trying to load plugin /usr/lib/slurm/preempt_none.so
slurmctld: preempt/none loaded
slurmctld: debug3: Success.
slurmctld: debug3: Trying to load plugin /usr/lib/slurm/checkpoint_none.so
slurmctld: debug3: Success.
slurmctld: debug:  Checkpoint plugin loaded: checkpoint/none
slurmctld: debug3: Trying to load plugin /usr/lib/slurm/acct_gather_energy_none.so
slurmctld: debug:  AcctGatherEnergy NONE plugin loaded
slurmctld: debug3: Success.
slurmctld: debug3: Trying to load plugin /usr/lib/slurm/acct_gather_profile_none.so
slurmctld: debug:  AcctGatherProfile NONE plugin loaded
slurmctld: debug3: Success.
slurmctld: debug3: Trying to load plugin /usr/lib/slurm/acct_gather_interconnect_none.so
slurmctld: debug:  AcctGatherInterconnect NONE plugin loaded
slurmctld: debug3: Success.
slurmctld: debug3: Trying to load plugin /usr/lib/slurm/acct_gather_filesystem_none.so
slurmctld: debug:  AcctGatherFilesystem NONE plugin loaded
slurmctld: debug3: Success.
slurmctld: debug2: No acct_gather.conf file (/etc/slurm-llnl/acct_gather.conf)
slurmctld: debug3: Trying to load plugin /usr/lib/slurm/jobacct_gather_none.so
slurmctld: debug:  Job accounting gather NOT_INVOKED plugin loaded
slurmctld: debug3: Success.
slurmctld: debug3: Trying to load plugin /usr/lib/slurm/ext_sensors_none.so
slurmctld: ExtSensors NONE plugin loaded
slurmctld: debug3: Success.
slurmctld: debug3: Trying to load plugin /usr/lib/slurm/switch_none.so
slurmctld: debug:  switch NONE plugin loaded
slurmctld: debug3: Success.
slurmctld: debug:  power_save module disabled, SuspendTime < 0
slurmctld: error: this host (Node_2/Node_2) not a valid controller (linux0 or (null))

Any idea what I need to do for it to see this plugin?

Offline

#2 2018-01-10 10:08:08

leomao
Member
Registered: 2013-04-27
Posts: 18

Re: Slurm Can't find plugin for select/linear

I also encountered this issue. I found that modifying the CFLAGS in the PKGBUILD  as

export CFLAGS="${CFLAGS//-fno-plt/}"

fix the problem.
Note that the original CFLAGS set in /etc/makepkg.conf is "-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt".

But I am not sure why slurmd cannot find that symbol when compiled with the `-fno-plt` flag.

Offline

Board footer

Powered by FluxBB