Log in to Puhti
βΌοΈ To begin make sure you have a user account at CSC that is a member of a project which has access to the Puhti service and perhaps Allas. Note that thereβs a small delay before one can login to Puhti after creating a new project and adding services.
Puhti web interface
π¬ Connecting via the Puhti web interface is an easy way to access the Puhti supercomputer.
- Open a web browser and go to https://www.puhti.csc.fi
- Login with your CSC account (or Haka/Virtu)
- You have now connected to Puhti!
π The Puhti web interface landing page looks like this:
π‘ From the pinned apps and top menus you can e.g. access your files and open some applications or a command-line interface.
Connecting with SSH from the command-line
π¬ The basic Command Line Interface (CLI) in Unix-based systems is the Terminal.
π‘ Different operating systems have slightly different CLIs and SSH-clients (programs that you can use to connect to the supercomputers).
Connecting from Linux
π¬ Laptops and workstations running Linux typically have SSH installed.
Find the Terminal on your computer:
- Open a terminal and type (replace
cscusername
with your CSC username):
ssh cscusername@puhti.csc.fi
- Scroll down to In Puhti
Connecting from macOS
π¬ In macOS, you can use Terminal similarly to Linux machines:
- Open the Terminal application and type (replace
cscusername
with your CSC username):
ssh cscusername@puhti.csc.fi
- Scroll down to In Puhti
Connecting from Windows
π¬ On Windows you have different options:
- You can use the Puhti web interface to connect with your browser (see above)
- You can use the Windows Power Shell
- You can download PuTTY
- You can download and install MobaXterm.
- You can set up the Windows Subsystem for Linux which creates an independent virtual Linux installation that can see all the files on your Windows computer. Instruction for WSL.
βΌοΈ The following steps assume you use MobaXterm. More examples can be found in Docs CSC.
- Launch MobaXterm from the applications list (opens from the Windows logo), or search for it in the bottom bar search box.
- Click the βSSHβ icon in the top left corner.
- In the Basic SSH settings section Remote host field write βpuhti.csc.fiβ
- Tick the βspecify usernameβ box and in the box write your CSC username (leave port in the default setting 22).
- Click βOKβ at the bottom.
- MobaXterm will now login to puhti.csc.fi and ask you for your password.
π‘ The next time you want to login to Puhti, just select it from the βsessionβ menu on the left.
π The MobaXterm window looks like this:
In Puhti
- If youβre connecting to Puhti (or a specific Puhti login node) for the first time, SSH will ask you if you trust the authenticity of the host, e.g.:
The authenticity of host 'puhti-login14.csc.fi' can't be established.
ECDSA key fingerprint is SHA256:kk0Tar9opQ+6Gq0GWJdWVVvFEMeI6kW1DW1VOYveT5c.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
- The first time you connect, you need to accept, but the key should not change for the next login.
- Pay attention whether you logged in
login11
,login12
,login14
orlogin15
. - Once youβve logged in youβll see a greeting starting something like this:
ββ Welcome ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CSC - Tieteen tietotekniikan keskus - IT Center for Science β
β ____ __ __ _ β
β / __ \__ __/ /_ / /_(_) - - - - β
β / /_/ / / / / __ \/ __/ / - - - - β
β / ____/ /_/ / / / / /_/ / - - - - β
β /_/ \__,_/_/ /_/\__/_/ - - - - β
β β
β Puhti.csc.fi - Atos BullSequana X400 - 682 CPU nodes - 80 GPU nodes β
ββ Contact ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Servicedesk : 09-457 2821, servicedesk@csc.fi Switchboard : 09-457 2001 β
ββ User Guide βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β https://docs.csc.fi β
ββ Manage my account ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β https://my.csc.fi/ β
ββ Software βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
...
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
[cscusername@puhti-login14 ~]$
- Now, youβre ready to go.
- Letβs do our first small task in Puhti: letβs check our projects and that we have a one with access to Allas service!
csc-projects module load allas allas-conf
- The first command
csc-projects
lists your projects. The second commandmodule load allas
loads the Allas tools in your use. The third commandallas-conf
sets up the connection to Allas: it will ask for your CSC password, and then you need to select which project you want to use (by typing the number of the project, for example2
). If you donβt see a project here, please return to CSC account and project tutorial and see that you have a project with access to Allas service. Please note, that it can take up to 1h after accepting the terms of use before the service is in use.
Remote graphics
π¬ Remote graphics may not work by default. Try the Puhti web interface for running graphical applications. Another option is to enable X11-tunneling as follows.
On Linux/macOS
- Add X11-tunneling to your SSH connection by adding
-X
or-Y
to yourssh
command like this (replacecscusername
with your CSC username):
ssh -X cscusername@puhti.csc.fi
Note that on Mac you need to have an X server running, for example XQuartz. You also need to set in your .bashrc
export DISPLAY=:0
On Windows
- MobaXterm will actually tunnel the connection by default.
- WSL and PuTTY require that an X server is installed and running. One of the options is Xming.
- In PuTTY, X11 forwarding is enabled in the connection settings:
Connection -> SSH -> X11: Enable X11 forwarding
. - If you are using WSL, you need to set either of the environment variables below in your
.bashrc
(depends on the version of WSL you are running):
export DISPLAY=:0
# or
export DISPLAY=:0.0
βπ» For intensive remote graphics we recommend using the Puhti web interface.
More information
π Docs: Connecting