Log in to Dardel¶
There are multiple clusters one can log in to. Here it is described how to login to Dardel.
Procedure¶
Prefer a video?
Go to a YouTube video on how to log in to Dardel to view what to do from step 3 and onwards.
First, we are here to help. Please contact support if you run into problems when trying the guide below.
Note that step 1 requires some hours of waiting and step 2 requires an overnight wait.
flowchart TD
get_supr_project[1.Access to a SUPR project with Dardel]
get_pdc_account[2.Access to a PDC account]
create_ssh_key[3.Create temporary SSH keys]
add_ssh_key[4.Add the SSH keys to the PDC Login Portal]
login[5. Login]
get_supr_project --> |needed for| get_pdc_account
create_ssh_key --> |needed for| add_ssh_key
get_pdc_account --> |needed for| add_ssh_key
add_ssh_key --> |needed for| login
Overview of the migration process. Note that step 1 requires some hours of waiting and step 2 requires an overnight wait.
1. Get access to a SUPR project with Dardel¶
First step is to get get access to a SUPR project with Dardel. This is described at PDC's page on getting access to Dardel. You will get an email when you are added to a project, this can take some hours.
How do I know I have access to a Dardel project?
Login to https://supr.naiss.se/. If there is a PDC project, you may have access to a project with Dardel.
Example user that has access to a PDC project
If you may a PDC project that does not use Dardel, click on the project to go the the project overview.
Example PDC project overview
From there, scroll down to 'Resources'. If you see 'Dardel' among the compute resources, you have confirmed you have access to a Dardel project.
Resources from an example PDC project
2. Get a PDC account via SUPR¶
Get a PDC account via SUPR. This is described at the PDC page on getting access. You will get a PDC account overnight.
How do I know I have a PDC account?
Login to https://supr.naiss.se/. and click on 'Accounts' in the main menu bar at the left.
If you see 'Dardel' among the resources, and status 'Enabled' in the same row, you have a PDC account!
Example of a user having an account at PDC's Dardel HPC cluster
How do I find out my PDC username?
In the PDC login portal, after logging in, you can see your Dardel username in the top-right corner:
Example screenshot of the PDC login portal. The Dardel username of this user is
svenbi
3. Create SSH key pair¶
Create SSH key and add it to the PDC Login Portal.
- Create the password less SSH key in a Linux terminal (e.g. from Rackham):
4. Add the public key to the PDC Login Portal¶
When creating the SSH key pair, darsync
will already
display the public key.
If, however, you missed it, you can view the public SSH key again; in a terminal logged into Rackham:
How does that look like?
The text will look similar to this:
Open the PDC Login Portal.
Follow our step-by-step instructions on how to add SSH keys.
5. Login¶
On a terminal, do:
where [username]
is your PDC username, for example ssh -X sven@dardel.pdc.kth.se
.
Why the -X
?
The -X
is for so-called X forwarding.
It allows you to view graphical things,
such as viewing plots or running graphical programs