Connecting to HPC 4 Research¶
HPC 4 Research is only available via the Charité, MDC, and BIH internal networks. VPN access requires additional measures which are described in Connecting from External Networks.
There are two primary methods for interacting with BIH HPC:
- Through the “Ondemand” web portal.
- Via SSH and Slurm.
This part of the documentation only described direct console access via SSH. For information regarding the web portal, please read OnDemand Portal. In case you're not familiar with SSH, you should probably start via the web portal or (if you are determined to learn) read through our SSH basics page.
In brief¶
Follow these steps to connect to BIH HPC via the command line:
- Register an account via your PI.
- Generate a SSH key pair
in Linux or Windows
- Submit your public key
to Charite or to MDC.
-
Connect to one of the two login nodes.
# Charite Users $ ssh user_c@hpc-login-1.cubi.bihealth.org $ ssh user_c@hpc-login-2.cubi.bihealth.org # MDC Users $ ssh user_m@hpc-login-1.cubi.bihealth.org $ ssh user_m@hpc-login-2.cubi.bihealth.org
Hint
There are two login nodes,
hpc-login-1
andhpc-login-2
. There are two for redundancy reasons. Please do not perform big file transfers or ansshfs
mount via the login nodes. For this purpose, we havehpc-transfer-1
andhpc-transfer-2
.Please also read Advanced SSH for more custom scenarios how to connect to BIH HPC. If you are using a Windows PC to access BIH HPC, please read Connecting via SSH on Windows
-
Allocate resources on a computation node using Slurm. Do not compute on the login node!
# Start interactive shell on computation node $ srun --pty bash -i
-
Bonus: Configure your SSH client
on Linux and Mac or Windows.
- Bonus: Connect from external networks
.
tl;dr
- Web Access: https://hpc-portal.cubi.bihealth.org
-
SSH-Based Access:
# Interactive login (choose one) ssh username@hpc-login-1.cubi.bihealth.org ssh username@hpc-login-2.cubi.bihealth.org srun --pty bash -i # File Transfer (choose one) sftp local/file username@hpc-transfer-1.cubi.bihealth.org:remote/file sftp username@hpc-transfer-2.cubi.bihealth.org:remote/file local/file # Interactive login into the transfer nodes (choose one) ssh username@hpc-transfer-1.cubi.bihealth.org ssh username@hpc-transfer-2.cubi.bihealth.org
What is my username?¶
Your username for accessing the cluster are composed of your username at your primary organization (Charité/MDC) and a suffix:
- Charite user:
<Charite username>_c -> doej_c
- MDC user:
<MDC username>_m -> jdoe_m
How can I connect from the outside?¶
Please read Connecting from External Networks
I have problems connecting¶
Please read Debugging Connection Problems