diff --git a/README.md b/README.md index a899b8b38be4a9e5aab98d22e5d07574481f010d..5e3e91669ee0b1c62d29ce080a1b092279b8d7d5 100644 --- a/README.md +++ b/README.md @@ -34,19 +34,19 @@ srun ./hpc_example.py -t 10 -l 100 ## Running in the background ``` -srun ./hpc_example.py -t 10 -l 100 & +sbatch ./hpc_example.py -t 10 -l 100 ``` ## Redirecting output ``` -srun --output=output.txt ./hpc_example.py -t 20 -l 100 & +sbatch --output=output.txt ./hpc_example.py -t 20 -l 100 ``` ## Creating a larger list ``` -srun --output=output.txt ./hpc_example.py -t 30 -l 5000000 & +sbatch --output=output.txt ./hpc_example.py -t 30 -l 5000000 ``` ## Displaying details of our cluster queue @@ -58,9 +58,17 @@ scontrol show partition ## Requesting more resources ``` -srun --mem=250 \ +sbatch --mem=250 \ --output=output.txt \ -./hpc_example.py -t 30 -l 5000000 & +./hpc_example.py -t 30 -l 5000000 +``` + +## Requesting a lot more resources + +``` +sbatch --mem=8000 \ +--output=output.txt \ +./hpc_example.py -t 120 -l 5000000 ``` ## Running interactive jobs diff --git a/hpc_slides.pdf b/hpc_slides.pdf index ec73309e1dde666fae7d037e3b9a5490f50fe76f..584c14a82bcefc1ee0374bcb752b8ae0c74d1fcc 100644 Binary files a/hpc_slides.pdf and b/hpc_slides.pdf differ