SLURM Demo: Difference between revisions

From Stat DS Computing Wiki
Jacobg2 (talk | contribs)
No edit summary
Jacobg2 (talk | contribs)
Line 1: Line 1:
This page will walk you through submitting a job using SLURM.
This page will walk you through submitting a job using SLURM. It will also cover basic Linux usage.


==== '''Log Into the Head Node''' ====
=== Log Into the Head Node ===
 
 
Log in to the head node server using your StatDS computing account through your terminal. (If you forget your password, reset it here.) This cluster is used for demonstration purposes only. Actual compute jobs are not meant to be submitted to this cluster.


Log in to the head node server using your StatDS computing account through your terminal. (If you forget your password, reset it here.) This cluster is used for demonstration purposes only. Actual compute jobs are not meant to be submitted to this cluster.<syntaxhighlight lang="bash">
ssh statdsuser@ood.stat.cmu.edu
ssh statdsuser@ood.stat.cmu.edu
 
</syntaxhighlight>Copy the SLURM Demo folder to your home directory. Do not run these files without moving them to your own working directory.<syntaxhighlight lang="bash">
Copy the Slurm Demo folder to your home directory.
Do not run these files without moving them to your own working directory.
 
cp -r /share/slurmdemo ~/slurmdemo
cp -r /share/slurmdemo ~/slurmdemo
 
</syntaxhighlight>Navigate to your new SLURM Demo directory.<syntaxhighlight lang="bash">
Navigate to your new Slurm Demo directory.
 
cd ~/slurmdemo
cd ~/slurmdemo
 
</syntaxhighlight>View the contents of the SLURM Demo directory.<syntaxhighlight lang="bash">
View the contents of the Slurm Demo directory.
 
ls -l
ls -l
</syntaxhighlight>

Revision as of 14:19, 27 August 2025

This page will walk you through submitting a job using SLURM. It will also cover basic Linux usage.

Log Into the Head Node

Log in to the head node server using your StatDS computing account through your terminal. (If you forget your password, reset it here.) This cluster is used for demonstration purposes only. Actual compute jobs are not meant to be submitted to this cluster.

ssh statdsuser@ood.stat.cmu.edu

Copy the SLURM Demo folder to your home directory. Do not run these files without moving them to your own working directory.

cp -r /share/slurmdemo ~/slurmdemo

Navigate to your new SLURM Demo directory.

cd ~/slurmdemo

View the contents of the SLURM Demo directory.

ls -l