Skip to content

Commit

Permalink
Merge pull request #458 from UCL-ARC/cdkharris/UCL-update-site-snippets
Browse files Browse the repository at this point in the history
Update UCL site snippets
  • Loading branch information
reid-a authored Sep 23, 2024
2 parents 6fef636 + c7b43fc commit 39981f1
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ local:
remote:
name: "Myriad"
login: "myriad.rc.ucl.ac.uk"
node: node-d00a-001
host: "login12.myriad.ucl.ac.uk"
node: node-d00a-005
location: "University College London"
homedir: "/home"
user: "yourUsername"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
```
{{ site.remote.bash_shebang }}
{{ site.sched.comment }} {{ site.sched.flag.name }} parallel-job
{{ site.sched.comment }} {{ site.sched.flag.queue }} {{ site.sched.queue.testing }}
{{ site.sched.comment }} -l nodes=1:ppn=8
{{ site.sched.comment }} -l mem=3G
{{ site.sched.comment }} -l h_rt=00:30:00
{{ site.sched.comment }} -pe mpi 8
{{ site.sched.comment }} -cwd
# Load the computing environment we need
module load python3
module unload compilers mpi
module load mpi4py
# Execute the task
mpiexec amdahl
gerun amdahl
```
{: .language-bash}
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
```
{{ site.remote.bash_shebang }}
{{ site.sched.comment }} {{ site.sched.flag.name }} parallel-job
{{ site.sched.comment }} {{ site.sched.flag.queue }} {{ site.sched.queue.testing }}
{{ site.sched.comment }} -l nodes=1:ppn=4
{{ site.sched.comment }} -l mem=3G
{{ site.sched.comment }} -l h_rt=00:30:00
{{ site.sched.comment }} -pe mpi 4
{{ site.sched.comment }} -cwd
# Load the computing environment we need
module load python3
module unload compilers mpi
module load mpi4py
# Execute the task
mpiexec amdahl
gerun amdahl
```
{: .language-bash}
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
```
{{ site.remote.bash_shebang }}
{{ site.sched.comment }} {{ site.sched.flag.name }} solo-job
{{ site.sched.comment }} {{ site.sched.flag.queue }} {{ site.sched.queue.testing }}
{{ site.sched.comment }} -l nodes=1:ppn=1
{{ site.sched.comment }} -l mem=3G
{{ site.sched.comment }} -l h_rt=00:30:00
{{ site.sched.comment }} -pe mpi 1
{{ site.sched.comment }} -cwd
# Load the computing environment we need
module load python3
module unload compilers mpi
module load mpi4py
# Execute the task
amdahl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* `-pe mpi <ncpus>` &mdash; How many CPUs does your job need? If you only need
one CPU you can leave this out.

* `mem=<bytes>` &mdash; How much memory per process does your job need? Must be
* `-l mem=<bytes>` &mdash; How much memory per process does your job need? Must be
an integer followed by M, G, or T to specify Mega, Giga or Terabytes.

* `wd /home/<your_UCL_id>/Scratch/<your_run_directory>` &mdash; Set the working
* `-wd /home/<your_UCL_id>/Scratch/<your_run_directory>` &mdash; Set the working
directory to somewhere in your scratch space.

0 comments on commit 39981f1

Please sign in to comment.