Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
compute_slurm [2018/08/31 16:56]
ktm5j
compute_slurm [2019/02/13 15:36] (current)
ktm5j
Line 2: Line 2:
  
 The Computer Science Department uses a resource management system called [[https://​en.wikipedia.org/​wiki/​Slurm_Workload_Manager|SLURM]]. ​ The purpose of a workload scheduler such as SLURM is to allocate computational resources to our users in such a way that everyone gets their fair share of execution time. The Computer Science Department uses a resource management system called [[https://​en.wikipedia.org/​wiki/​Slurm_Workload_Manager|SLURM]]. ​ The purpose of a workload scheduler such as SLURM is to allocate computational resources to our users in such a way that everyone gets their fair share of execution time.
 +
 +===== Note on Modules in Slurm =====
 +
 +Due to the way sbatch spawns a bash session (non-login session), some init files are not loaded from ''​%%/​etc/​profile.d%%''​. ​ This prevents the initialization of the [[linux_environment_modules|Environment Modules]] system and will prevent you from loading software modules.
 +
 +To fix this, simply include the following line in your sbatch scripts:
 +
 +<code bash>
 +source /​etc/​profile.d/​modules.sh
 +</​code>​
  
 ===== Using SLURM ===== ===== Using SLURM =====
  • compute_slurm.txt
  • Last modified: 2019/02/13 15:36
  • by ktm5j