Previously, I used virtual machines to run programs in Windows. Later, I was despised by senior students and switched to the linux platform. As a result, virtualbox crashed as soon as it was loaded with virtual machines, so I had to perform experiments on physical nodes. In fact, it is similar to configuring Slurm in Ubuntu, which is not as simple as apt-get. It is compiled from the source code. Please refer to the following link for more information: http://www.linuxidc.com/linux/2012-10/71552.htmmunge.
Previously, I used virtual machines to run programs in Windows. Later, I was despised by senior students and switched to the linux platform. As a result, virtualbox crashed as soon as it was loaded with virtual machines, so I had to perform experiments on physical nodes.
In fact, it is similar to configuring Slurm in Ubuntu, which is not as simple as apt-get. It is compiled from the source code.
Reference: http://www.linuxidc.com/Linux/2012-10/71552.htm
The munge path does not seem to be the same, instead of/xxxx, but/usr/local/xxxx. This problem will be discussed later.
SLURM will prompt an error
Plugin_load_from_file: dlopen (/usr/local/lib/slurm/crypto_munge.so): libmunge. so.2: cannot open shared object file: No such file or directory
Or the munge package is missing. Search for a libmunge. so.2 package on the Internet.
View version number
Uname-
Cat/etc/issue
Lsb_release-
Cat/etc/RedHat-release
However, the results of using these commands are different. Some of them are EL4 and some are EL5, so I went to the old library...
Failed to find/var/run/munge. socket.2 when running slurm.
Haha.
Go to/var/run to create a link to/usr/local/var/run/munge.
Because it is a physical machine, it is a little more complex than the virtual machine environment. For example, the time of several of my nodes is not synchronized. In this way, munge cannot work normally.
Date
Display time
Date-s "Sep 15 12:30:07"
Modification time: September 15 xxxxxx
Because each machine is different, the uid and gid of user tomxice on each machine are different... Then munge quit again.
Usermod-u uid username Change User uid
Groupmod-g gid groupname Change Group gid
Usermod-g groupname username adds the user to the group (I wonder why my tomxice is not in the tomxice Group)
It seems that you can work now, OY ~