Skip to content

Commit

Permalink
Update new python scripts with Myriad env setup
Browse files Browse the repository at this point in the history
  • Loading branch information
cdkharris committed Sep 23, 2024
1 parent 2eb4a6e commit a209d45
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
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

0 comments on commit a209d45

Please sign in to comment.