Skip to content
Snippets Groups Projects
Commit 6134e4f3 authored by Michael Blaschek's avatar Michael Blaschek :bicyclist:
Browse files

Update README.md

parent 2916ff7f
No related branches found
No related tags found
No related merge requests found
# SLURM
Slurm is an open source, fault-tolerant, and highly scalable cluster management and job scheduling system for large and small Linux clusters.
[[_TOC_]]
# Scientific Computing # Scientific Computing
In order to make great use of a super computer one needs to be able to tell it what should be done. In order to make great use of a super computer one needs to be able to tell it what should be done.
...@@ -45,11 +51,11 @@ The hostname of the node running our test script. Of course that is a silly job. ...@@ -45,11 +51,11 @@ The hostname of the node running our test script. Of course that is a silly job.
2. Submit the job with `sbatch` 2. Submit the job with `sbatch`
3. Check the Queue and Status of your job with `squeue` 3. Check the Queue and Status of your job with `squeue`
## Writing a job file # Writing a job file
There are things to consider when writing a job There are things to consider when writing a job
## Interactive Session # Interactive Session
It is possible to ask for an interactive session on any node. When your job runs you can always `ssh` to that node and maybe check things, although your file system is available everywhere, there is no need for that. It is possible to ask for an interactive session on any node. When your job runs you can always `ssh` to that node and maybe check things, although your file system is available everywhere, there is no need for that.
...@@ -73,7 +79,7 @@ How to acquire each node exclusively ...@@ -73,7 +79,7 @@ How to acquire each node exclusively
srun -w jet05 --exclusive --pty bash -i srun -w jet05 --exclusive --pty bash -i
``` ```
## MPI # MPI
How to submit an MPI batch job How to submit an MPI batch job
...@@ -97,3 +103,21 @@ Submit with ...@@ -97,3 +103,21 @@ Submit with
```bash ```bash
sbatch mpiexample.sh sbatch mpiexample.sh
``` ```
# Useful things
## Information on the Job
```
sacct -j <JOBID>
# Memory Used
sacct -j <JOBID> --format=JobID,JobName,ReqMem,MaxRSS,Elapsed
```
## Send an Email Notification of your job:
ALL, BEGIN, END, FAIL
```
#SBATCH --mail-type=BEGIN # first have to state the type of event to occur
#SBATCH --mail-user=<email@address.at> # and then your email address
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment