1010 partitions set in the Spawner and allows the user to select Slurm resources to
1111 use.
1212
13- <img style="margin: auto " src=https://user-images.githubusercontent.com/9449698/194308511-f0e6d6a9-ba7a-4086-a871-23b08523c61a .png width="50%">
13+ <img style="margin: auto " src=https://user-images.githubusercontent.com/9449698/215526389-2ef5ac32-5d50-49de-aa5f-46972feaccf1 .png width="50%">
1414
1515## Install
1616
@@ -99,6 +99,9 @@ c.MOSlurmSpawner.partitions = {
9999}
100100```
101101
102+ For a minimalistic working demo, check the
103+ [`demo/ jupyterhub_conf.py` ](demo/ jupyterhub_conf.py) config file .
104+
102105# ## Field descriptions
103106
104107- `architecture` : The architecture of the partition. This is only cosmetic and
@@ -147,7 +150,7 @@ The spawn page (available at `/hub/spawn`) will be generated according to the
147150partition settings. For example, this is the spawn page generated for the
148151partition settings above:
149152
150- < img style=" margin:1rem auto" src=https:// user- images.githubusercontent.com/ 9449698 / 194308511 - f0e6d6a9 - ba7a - 4086 - a871 - 23b08523c61a .png width=" 50%" >
153+ < img style=" margin:1rem auto" src=https:// user- images.githubusercontent.com/ 9449698 / 215526389 - 2ef5ac32 - 5d50 - 49de - aa5f - 46972feaccf1 .png width=" 50%" >
151154
152155This spawn page is separated in two tabs: a _Simple_ and an _Advanced_ tab. On
153156the _Simple_ tab, the user can choose between the partitions set though
@@ -159,15 +162,15 @@ Clicking on the **Start** button will request the job.
159162The spawn page adapts to the chosen partition. This is the page when selecting
160163the `partition_2` :
161164
162- < img style=" margin:1rem auto" src=https:// user- images.githubusercontent.com/ 9449698 / 194308454 - 697c717f - daf0 - 4927 - 9fa6 - 6b96ba09dba6 .png width=" 50%" >
165+ < img style=" margin:1rem auto" src=https:// user- images.githubusercontent.com/ 9449698 / 215526553 - 4ba57510 - efac - 4a28 - a576 - ef81ff9ec2f5 .png width=" 50%" >
163166
164167As the maximum number of cores is different, the CPUs row change accordingly.
165168Also, as `gpu` was set for `partition_2` , a new button row appears to enable GPU
166169requests.
167170
168171The _Advanced_ tab allows finer control on the requested resources.
169172
170- < img style=" margin:1rem auto" src=https:// user- images.githubusercontent.com/ 9449698 / 194308524 - 38417bb8 - f520 - 4940 - 9c94 - af960f11e535 .png width=" 50%" >
173+ < img style=" margin:1rem auto" src=https:// user- images.githubusercontent.com/ 9449698 / 215526665 - a650a54d - e7ec - 4d50 - b5ab - a02d93b23d19 .png width=" 50%" >
171174
172175The user can select any partition (`partition_3` is added in this case) and the
173176table of available resources reflects this. The user can also choose any number
0 commit comments