RedHat install SLURM

Source: Internet
Author: User
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 ~

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.