Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update UCL site snippets #458

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading