forked from carpentries-incubator/hpc-intro
-
Notifications
You must be signed in to change notification settings - Fork 1
/
_config.yml
170 lines (147 loc) · 4.5 KB
/
_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# HPC-Intro Jekyll configuration
---
#------------------------------------------------------------
# SITE specific configuration
#------------------------------------------------------------
# Cluster host and scheduler options: the defaults come from
# Graham at Compute Canada, running Slurm. Other options can
# be found in the library of snippets,
# `_includes/snippets_library`. To use one, replace options
# below with those in `_config_options.yml` from the
# library. E.g, to customise for Cirrus at EPCC, running
# PBS, we could replace the options below with those from
#
# _includes/snippets_library/EPCC_Cirrus_pbs/_config_options.yml
#
# If your cluster is not represented in the library, please
# copy an existing folder, rename it, and customize for your
# installation. Remember to keep the leading slash on the
# `snippets` variable below!
snippets: "/snippets_library/ComputeCanada_Graham_slurm"
local:
prompt: "[user@laptop ~]$"
bash_shebang: "#!/usr/bin/env bash"
remote:
name: "Graham"
login: "graham.computecanada.ca"
host: "gra-login1"
node: "aci-377"
location: "University of Waterloo"
homedir: "/home"
user: "yourUsername"
prompt: "[yourUsername@gra-login1 ~]$"
module_python3: "python3"
bash_shebang: "#!/usr/bin/env bash"
sched:
name: "Slurm"
submit:
name: "sbatch"
options: ""
queue:
debug: "debug"
testing: "testing"
status: "squeue"
flag:
user: "-u yourUsername"
interactive: ""
histdetail: "-l -j"
name: "-J"
time: "-t"
queue: "-p"
nodes: "-N"
tasks: "-n"
del: "scancel"
interactive: "srun"
info: "sinfo"
comment: "#SBATCH"
hist: "sacct -u yourUsername"
episode_order:
- 11-hpc-intro
- 12-cluster
- 13-scheduler
- 14-modules
- 15-transferring-files
- 16-parallel
- 17-resources
- 18-responsibility
#------------------------------------------------------------
# Values for this lesson
#------------------------------------------------------------
# Which carpentry is this?
# "swc": Software Carpentry
# "dc": Data Carpentry
# "lc": Library Carpentry
# "cp": Carpentries (e.g., instructor traning)
carpentry: "incubator"
# Overall title for pages.
title: "Introduction to High-Performance Computing"
# Email address, no mailto:
email: "[email protected]"
# Life cycle stage of the lesson ("pre-alpha", "alpha", "beta", "stable")?
life_cycle: "alpha"
#------------------------------------------------------------
# Generic settings (should not need to change).
#------------------------------------------------------------
# What kind of thing is this ("workshop" or "lesson")?
kind: "lesson"
# Start time in minutes (0 to be clock-independent, 540 to show a start at 09:00 am).
start_time: 0
# Magic to make URLs resolve both locally and on GitHub. Please don't change.
repository: <USERNAME>/<PROJECT>
# Invoke the Carpentries theme rather than copying into our repository.
remote_theme: carpentries/carpentries-theme
# Sites.
amy_site: "https://amy.carpentries.org/"
carpentries_github: "https://github.com/carpentries"
carpentries_pages: "https://carpentries.github.io"
carpentries_site: "https://carpentries.org/"
dc_site: "https://datacarpentry.org"
example_repo: "https://github.com/carpentries/lesson-example"
example_site: "https://carpentries.github.io/lesson-example"
lc_site: "https://librarycarpentry.org/"
swc_github: "https://github.com/swcarpentry"
swc_pages: "https://swcarpentry.github.io"
swc_site: "https://software-carpentry.org"
template_repo: "https://github.com/carpentries/styles"
training_site: "https://carpentries.github.io/instructor-training"
workshop_repo: "https://github.com/carpentries/workshop-template"
workshop_site: "https://carpentries.github.io/workshop-template"
cc_by_human: "https://creativecommons.org/licenses/by/4.0/"
# Specify that things in the Episodes and Extras collections should be output.
collections:
episodes:
output: true
permalink: /:path/index.html
extras:
output: true
permalink: /:path/index.html
# Set the default layout for things in the episodes collection.
defaults:
- values:
root: .
layout: page
- scope:
path: ""
type: episodes
values:
root: ..
layout: episode
- scope:
path: ""
type: extras
values:
root: ..
layout: page
# Files and directories that are not to be copied.
exclude:
- Makefile
- bin/
- .Rproj.user/
- .vendor/
- vendor/
- .docker-vendor/
# Turn on built-in syntax highlighting.
highlighter: rouge
plugins:
- jekyll-redirect-from
- jekyll-paginate