If the munge plugin is missing from your system, you can build it from the Slurm source code. Here's how to build and install the munge plugin:
Download the latest Slurm source code from the official website (https://www.schedmd.com/downloads.php).
Uzip the slurm source. Now install the dependencies:
sudo yum install -y gcc make munge munge-devel munge-libs openssl-devel pam-devel mariadb-devel readline-devel
For Debian based systems use apt-get instead.
cd slurm-20.11.9
./configure
Build the Slurm plugins:
make
Once the build is complete, locate the munge plugin cred_munge.so in the src/plugins/cred/munge/.libs directory: bash
cd src/plugins/cred/munge/.libs
Copy the cred_munge.so plugin to the /usr/local/lib/slurm directory:
sudo cp cred_munge.so /usr/local/lib/slurm
Also copy the auth_munge.so plugin the same way:
cp ./src/plugins/auth/munge/.libs/auth_munge.so /usr/local/lib/slurm
Make sure your slurm.conf configuration file has the following line:
CredType=cred/munge
Restart the Slurm services for the changes to take effect:
sudo systemctl restart slurmctld
sudo systemctl restart slurmd
Now the munge plugin should be properly installed and available for Slurm to use.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-04-07 19:03:15 +0000
Seen: 24 times
Last updated: Apr 07
How can I fix error: Security violation, ping RPC from uid 1001 in Slurm log?
How can define a Slurm Node only to be used on explicit demand?
How can I install the CGroup V2 Plugin for Slurm?
How to distribute Elasticache cluster nodes among several AWS Availability Zones?
How can I establish a cluster with a shared network in GKE?