Skip to content

BSC-RM/slurm_as_a_job

Repository files navigation

# Copyright (C) 2018
# Author: Marco D'Amico ([email protected])

This folder contains:
 - slurm_job_startup           -> script for launching a SLURM environment in a SLURM job
 - slurm_job_shutdown          -> script for shutting down the SLURM environment
 - python-hostlist-1.18.tar.gz -> python utility to extract node names from hostlists: 
				  decompress in the same folder
 - slurm.conf.template         -> slurm.conf template used by "slurm_job" script to generate a slurm.conf 
 - trace.sh.template           -> template script used by "slurm_job" script for SLURM jobcomp/script plugin
 - example.job                 -> an example of use

To run the SLURM environment:
 - install SLURM in "slurm" directory
 - extract python-hostlist-1.18.tar.gz in the main directory
 - edit hardware info of the computing nodes and SLURM parameters in slurm.conf.template
 - modify example.job to request the needed number of nodes, and to run your workload
 - use sbatch to submit the job

About

Run Slurm as a Slurm job

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages