-
-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update new python scripts with Myriad env setup
- Loading branch information
Showing
3 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
10 changes: 7 additions & 3 deletions
10
_includes/snippets_library/UCL_Myriad_sge/parallel/eight-tasks-jobscript.snip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |
10 changes: 7 additions & 3 deletions
10
_includes/snippets_library/UCL_Myriad_sge/parallel/four-tasks-jobscript.snip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |
8 changes: 6 additions & 2 deletions
8
_includes/snippets_library/UCL_Myriad_sge/parallel/one-task-jobscript.snip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters