Commit d23ab09e authored by Max Jakub Ried's avatar Max Jakub Ried
Browse files

Import from GitHub, and rudimentary conversion to asciidoc.

Pipeline #40611 passed with stages
in 13 seconds
image: asciidoctor/docker-asciidoctor:latest
# build html
- mkdir --parents ./public
- asciidoctor --destination-dir ./public *.adoc
- public/
= HPC Cheat Sheet
:source-highlighter: rouge
Jonas Weber <>; Max Ried <>
Last edit: {docdatetime}
== HPC cheat sheet
=== Useful links[HPC application][HPC
{empty}[screen wiki][screen]
{empty}[myJam website][myJam]
=== ☞ Nota Bene
Connections from outside of the University network are currently
disabled for security reasons. You can still connect if you use the VPN.
Its setup is described[here].
=== Connect with terminal
You can connect to the HPC login node via SSH.
ssh <username>
If this is to long for you to type everytime you can open
`+~/.ssh/config+` with an editor of your choice and add the lines:
Host hilbert
User <username>
Host hilbert-storage
User <username>
This way you can just type `+ssh hilbert+` to connect to the login node.
To make it even more convinient, consider adding your ssh public key to
your `+authorized_keys+` file on hilbert. If you have no clue what this
means, just run the following on your local personal machine from where
you already can connect using your password. Assuming you use some kind
of disk encryption, it should be safe to choose an empty password for
your key in the first step.
ssh-keygen -t ed25519
ssh-copy-id hilbert
From then on you can login to hilbert without providing your password.
=== Other ways of connecting
==== Mount a directory
If you're inside the University network, you should connect to the
storage backend of hilbert as it's able to achieve speeds around 100
sshfs hilbert-storage:some/path/on/the/HPC some/path/on/your/system
You can mount a HPC directory to your filesystem from outside the
University network by running
sshfs hilbert:some/path/on/the/HPC some/path/on/your/system
but this is discouraged by the ZIM people.
sshfs hilbert-storage:/gpfs/scratch/joweb106 Documents/hilbert3/
sshfs hilbert:/gpfs/scratch/joweb106 Documents/hilbert3/
You can also use[Filezilla], or the file
browser of your Linux distribution. Just try to enter
`+sftp://hilbert-storage/gpfs/scratch/<username>+` into the address bar
of your *file* browser.
Also look at[this
HPC wiki post]
==== Graphical Session
You can request one[here].
=== Your home directory
You shoud do your work in `+/gpfs/scratch/username+`.
=== Modules
You can load specific software with modules:
module load module-name
List of all modules:
module avail
For conda:
module load Miniconda/3
For conda with Snakemake (different miniconda module):
module load Miniconda/3_snakemake Snakemake/5.10.0
=== screen
One can use [screen] to start a new screen session
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment