Exercise 6: Creating a Batch System with Slurm

Author:

Fernando Posada

Warning

Make sure firewalld is disabled and stopped in the master and compute nodes!

systemctl disable firewalld
systemctl stop firewalld

Also, make sure your hostname is set to master on you master! You can accomplish this by running:

hostname master

ONLY in the master node.


Slurm is an open source, fault-tolerant, and highly scalable cluster management and job scheduling system for large and small Linux clusters. Slurm requires no kernel modifications for its operation and is relatively self-contained. As a cluster workload manager, Slurm has three key functions. First, it allocates exclusive and/or non-exclusive access to resources (compute nodes) to users for some duration of time so they can perform work. Second, it provides a framework for starting, executing, and monitoring work (normally a parallel job) on the set of allocated nodes. Finally, it arbitrates contention for resources by managing a queue of pending work.