Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bio-IT Workshops
embl_hpc
Commits
f1911724
Commit
f1911724
authored
Oct 20, 2017
by
Mike Smith
Browse files
changed to using sbatch
parent
9b3b3b7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
f1911724
...
...
@@ -34,19 +34,19 @@ srun ./hpc_example.py -t 10 -l 100
## Running in the background
```
s
run
./hpc_example.py -t 10 -l 100
&
s
batch
./hpc_example.py -t 10 -l 100
```
## Redirecting output
```
s
run
--output=output.txt ./hpc_example.py -t 20 -l 100
&
s
batch
--output=output.txt ./hpc_example.py -t 20 -l 100
```
## Creating a larger list
```
s
run
--output=output.txt ./hpc_example.py -t 30 -l 5000000
&
s
batch
--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
```
s
run
--mem=250 \
s
batch
--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
...
...
hpc_slides.pdf
View file @
f1911724
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment