Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
5b2e4071
Commit
5b2e4071
authored
1 year ago
by
Guilherme Calandrini
Browse files
Options
Downloads
Patches
Plain Diff
fix jupyterhub url
parent
4e65bb55
No related branches found
No related tags found
2 merge requests
!990
Automated merge from preview to main
,
!971
Fixes for Jupyter
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc.zih.tu-dresden.de/docs/access/jupyterhub_for_teaching.md
+9
-12
9 additions, 12 deletions
doc.zih.tu-dresden.de/docs/access/jupyterhub_for_teaching.md
doc.zih.tu-dresden.de/docs/software/big_data_frameworks.md
+1
-1
1 addition, 1 deletion
doc.zih.tu-dresden.de/docs/software/big_data_frameworks.md
with
10 additions
and
13 deletions
doc.zih.tu-dresden.de/docs/access/jupyterhub_for_teaching.md
+
9
−
12
View file @
5b2e4071
...
...
@@ -37,13 +37,13 @@ other material to your students.
To create a shareable link, we recommend to use
[
URL encoding
](
https://en.wikipedia.org/wiki/Percent-encoding
)
instead of plain text for the link in order to avoid defective links. The
[
nbgitpuller link generator
](
https://jupyterhub.github.io/nbgitpuller/link?hub=https://
taurus.hrsk
.tu-dresden.de/
jupyter/
)
[
nbgitpuller link generator
](
https://jupyterhub.github.io/nbgitpuller/link?hub=https://
jupyterhub.hpc
.tu-dresden.de/
)
supports you in generating valid links for sharing.
??? example
A shareable link for this feature looks like this:
```
https://
taurus.hrsk
.tu-dresden.de/
jupyter/
hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fjdwittenauer%2Fipython-notebooks&urlpath=tree%2Fipython-notebooks%2Fnotebooks%2Flanguage%2FIntro.ipynb
https://
jupyterhub.hpc
.tu-dresden.de/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fjdwittenauer%2Fipython-notebooks&urlpath=tree%2Fipython-notebooks%2Fnotebooks%2Flanguage%2FIntro.ipynb
```
!!! warning
...
...
@@ -73,10 +73,10 @@ The spawn form now offers a quick start mode by passing URL parameters.
!!! example
The following link would create a jupyter notebook session on the
partition `interactive` with the `test` environment being loaded
:
cluster `barnard` with 1 CPU and 1,5 GB RAM
:
```
https://
taurus.hrsk
.tu-dresden.de/
jupyter/
hub/spawn#/~(
partition~'interactive~environment~'test
)
https://
jupyterhub.hpc
.tu-dresden.de/hub/spawn#/~(
cluster~'barnard~nodes~'1~ntasks~'1~cpuspertask~'1~mempercpu~'1536
)
```

...
...
@@ -87,18 +87,15 @@ parameter is not mentioned, the default value will be loaded.
| Parameter | Default Value |
|:----------------|:-----------------------------------------|
|
`
partition`
| default
|
|
`
cluster`
| barnard
|
|
`nodes`
| 1 |
|
`ntasks`
| 1 |
|
`cpuspertask`
| 1 |
|
`gres`
|
*empty*
(no generic resources) |
|
`mempercpu`
| 1000 |
|
`runtime`
|
8
:00:00 |
|
`runtime`
|
1
:00:00 |
|
`reservation`
|
*empty*
(use no reservation) |
|
`project`
|
*empty*
(use default project) |
|
`modules`
|
*empty*
(do not load additional modules) |
|
`environment`
| production |
|
`launch`
| JupyterLab |
|
`workspace_scope`
|
*empty*
(home directory) |
You can use the advanced form to generate a URL for the settings you want. The
...
...
@@ -109,7 +106,7 @@ address bar contains the encoded parameters starting with `#/`.
You can combine both features in a single link:
```
https://
taurus.hrsk
.tu-dresden.de/
jupyter/
hub/user-redirect/git-pull?repo=https://github.com/jdwittenauer/ipython-notebooks&urlpath=/tree/ipython-notebooks/notebooks/language/Intro.ipynb#/~(
partition~'interactive~environment~'test
)
https://
jupyterhub.hpc
.tu-dresden.de/hub/user-redirect/git-pull?repo=https://github.com/jdwittenauer/ipython-notebooks&urlpath=/tree/ipython-notebooks/notebooks/language/Intro.ipynb#/~(
cluster~'barnard~nodes~'1~ntasks~'1~cpuspertask~'1~mempercpu~'1536
)
```

...
...
@@ -120,7 +117,7 @@ https://taurus.hrsk.tu-dresden.de/jupyter/hub/user-redirect/git-pull?repo=https:
With the following link you will be redirected to a certain file in your
home directory.
[
https://
taurus.hrsk
.tu-dresden.de/
jupyter/
user-redirect/notebooks/demo.ipynb
](
https://
taurus.hrsk
.tu-dresden.de/
jupyter/
user-redirect/notebooks/demo.ipynb
)
[
https://
jupyterhub.hpc
.tu-dresden.de/user-redirect/notebooks/demo.ipynb
](
https://
jupyterhub.hpc
.tu-dresden.de/user-redirect/notebooks/demo.ipynb
)
The file needs to exist, otherwise a 404 error will be thrown.
...
...
@@ -128,7 +125,7 @@ The file needs to exist, otherwise a 404 error will be thrown.
{: align="center"}
This link would redirect to
`https://
taurus.hrsk
.tu-dresden.de/
jupyter/
user/{login}/notebooks/demo.ipynb`
.
`https://
jupyterhub.hpc
.tu-dresden.de/user/{login}/notebooks/demo.ipynb`
.
## Create a Shared Python Environment
...
...
This diff is collapsed.
Click to expand it.
doc.zih.tu-dresden.de/docs/software/big_data_frameworks.md
+
1
−
1
View file @
5b2e4071
...
...
@@ -240,7 +240,7 @@ on the [JupyterHub](../access/jupyterhub.md) page.
### Spawning a Notebook
Go to
[
https://
taurus.hrsk
.tu-dresden.de
/jupyter
](
https://
taurus.hrsk
.tu-dresden.de
/jupyter
)
.
Go to
[
https://
jupyterhub.hpc
.tu-dresden.de
](
https://
jupyterhub.hpc
.tu-dresden.de
)
.
In the tab "Advanced", go to the field "Preload modules" and select the following Spark or Flink
module:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment