Skip to content

Commit 553c83f

Browse files
add slurm profiling figures to Runtime data
1 parent 64e770b commit 553c83f

File tree

10 files changed

+48
-1
lines changed

10 files changed

+48
-1
lines changed

docs/1-runtime-info.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Runtime data
2+
3+
4+
5+
![image](./images/runtime_vs_cpu1.png)
6+
7+
<center><small> Runtime for one sample across varying number of CPUs: This is for the second phase of the workflow which creates the .db files from .apxims files (`08-snakemake/Snakefile_2`) </small></center>
8+
9+
## Runtime behaviour
10+
11+
??? hourglass "4cpu"
12+
![image](./images/4c.png)
13+
14+
??? hourglass "8cpu"
15+
![image](./images/8c.png)
16+
17+
??? hourglass "12cpu"
18+
![image](./images/12c.png)
19+
20+
??? hourglass "16cpu"
21+
![image](./images/16c.png)
22+
23+
??? hourglass "20cpu"
24+
![image](./images/20c.png)
25+
26+
??? hourglass "24cpu"
27+
![image](./images/24c.png)

docs/images/12c.png

38.9 KB
Loading

docs/images/16c.png

38.6 KB
Loading

docs/images/20c.png

38.2 KB
Loading

docs/images/24c.png

38.4 KB
Loading

docs/images/4c.png

39.1 KB
Loading

docs/images/8c.png

39.5 KB
Loading

docs/images/runtime_vs_cpu1.png

41.6 KB
Loading

docs/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ Deploy APSIM (Agricultural Production Systems sIMulator - https://www.apsim.info
128128

129129
1. Cloned the latest version of the repo (https://github.com/nesi/APSIM-HPC.git)
130130
2. `03-generate-config-files/generate_apsim_configs.R` , `08-snakemake/Snakefile_1` and `08-snakemake/Snakefile_2` were updated with names of the template files,etc.
131-
3. Filenames and directory structure **were/was not** altered.
131+
3. Filenames and directory structure of the **cloned repo** **were/was not** altered.
132+
- submission script relies on the relative paths and names as it is within the Github repo.
133+
- If you are to change paths or names, make sure to review `submit.sh` and amend to reflect the changes.
132134

133135

134136
!!! rocket "Launch it with the command `source submit.sh`"

docs/stylesheets/extra.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,4 +1178,22 @@
11781178
background-color: rgb(25,25,112);
11791179
-webkit-mask-image: var(--md-admonition-icon--rocket);
11801180
mask-image: var(--md-admonition-icon--rocket);
1181+
}
1182+
1183+
:root {
1184+
--md-admonition-icon--hourglass: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64l0 11c0 42.4 16.9 83.1 46.9 113.1L146.7 256 78.9 323.9C48.9 353.9 32 394.6 32 437l0 11c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0 256 0 32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-11c0-42.4-16.9-83.1-46.9-113.1L237.3 256l67.9-67.9c30-30 46.9-70.7 46.9-113.1l0-11c17.7 0 32-14.3 32-32s-14.3-32-32-32L320 0 64 0 32 0zM96 75l0-11 192 0 0 11c0 19-5.6 37.4-16 53L112 128c-10.3-15.6-16-34-16-53zm16 309c3.5-5.3 7.6-10.3 12.1-14.9L192 301.3l67.9 67.9c4.6 4.6 8.6 9.6 12.1 14.9L112 384z"/></svg>')
1185+
}
1186+
.md-typeset .admonition.hourglass,
1187+
.md-typeset details.hourglass {
1188+
border-color: rgb(243, 198, 49);
1189+
}
1190+
.md-typeset .hourglass > .admonition-title,
1191+
.md-typeset .hourglass > summary {
1192+
background-color: rgba(243, 147, 22, 0.562);
1193+
}
1194+
.md-typeset .hourglass > .admonition-title::before,
1195+
.md-typeset .hourglass > summary::before {
1196+
background-color: rgb(25,25,112);
1197+
-webkit-mask-image: var(--md-admonition-icon--hourglass);
1198+
mask-image: var(--md-admonition-icon--hourglass);
11811199
}

0 commit comments

Comments
 (0)