This page explains how to connect to the VU MIF High Performance Computing (HPC) system.
If this is your first time using HPC, don't worry. The goal is simply to log in successfully. Once connected, you can continue with the First Successful Job guide and run your first computation.
Before connecting, make sure that:
Most users can connect using a single command:
ssh username@hpc.mif.vu.lt
Replace username with your HPC username.
If this command works, you're ready to continue with the rest of the guide.
When you connect to HPC, you are placed on a login node.
Think of the login node as your workspace where you can:
Your actual calculations are performed on separate compute nodes managed by the SLURM scheduler.
<note important> Unlike a personal computer, computational workloads are not normally executed directly on the login node. Instead, jobs are submitted to SLURM, which schedules them on available compute nodes.
Please use the login node for preparing work and submitting jobs, not for running computationally intensive calculations. </note>
There are two common ways to connect:
VU MIF users can authenticate using Kerberos credentials.
Verify that you have a valid Kerberos ticket:
klist
If no valid ticket exists, create one:
kinit
You will be prompted for your VU MIF password.
After obtaining a valid Kerberos ticket:
ssh username@hpc.mif.vu.lt
or, if supported by your local environment:
ssh hpc
SSH keys are recommended if you:
Linux and macOS:
ssh-keygen -t ed25519
Windows PowerShell:
ssh-keygen -t ed25519
Accept the default location and optionally protect the key with a passphrase.
Before using SSH keys for the first time:
mkdir -p ~/.ssh chmod 700 ~/.ssh
~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
After that, you can connect using your SSH private key without entering your HPC password each time.
Windows users can connect with:
Open Windows Terminal or PowerShell and run:
ssh username@hpc.mif.vu.lt
If you prefer a graphical application:
hpc.mif.vu.lt22SSHOpen a terminal and run:
ssh username@hpc.mif.vu.lt
Open Terminal.app and run:
ssh username@hpc.mif.vu.lt
Visual Studio Code can connect directly to HPC using the Remote SSH extension.
Install:
Add the following entry to your local SSH configuration:
Host hpc
HostName hpc.mif.vu.lt
User username
Replace username with your HPC username.
Open:
Visual Studio Code will open a remote session on the HPC login node.
You will often need to move files between your computer and the HPC system.
Choose whichever method is most convenient:
Most Windows users find WinSCP the easiest option.
Download:
Connection settings:
SFTPhpc.mif.vu.lt22Upload a file:
scp myfile.txt username@hpc.mif.vu.lt:~
Upload a directory:
scp -r myproject username@hpc.mif.vu.lt:~
Download a file:
scp username@hpc.mif.vu.lt:~/myfile.txt .
Download a directory:
scp -r username@hpc.mif.vu.lt:~/myproject .
The first time you connect, your HPC environment is prepared automatically.
<note important> Your SLURM account is created automatically after your first successful login.
This process may take up to 5 minutes.
During this time, job submission commands such as sbatch may return account-related errors. No action is required. Simply wait a few minutes and try again.
</note>
After connecting, run:
whoami hostname pwd
These commands show:
If all commands work, your HPC account is ready to use.
Once your SLURM account has been created:
sinfo
Example output:
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST main* up ... gpu up ...
The cluster currently provides two main partitions:
| Partition | Typical Usage |
|---|---|
main | General-purpose CPU workloads |
gpu | Machine learning, AI, and GPU-accelerated applications |
<note tip>
Most users should start with the main partition.
Only use the gpu partition when your application requires NVIDIA GPUs.
</note>
List files in your home directory:
ls -la
Display the current location:
pwd
Shared storage is described in:
Possible causes:
Possible causes:
Verify:
ping hpc.mif.vu.lt
Remove the previous SSH host entry:
ssh-keygen -R hpc.mif.vu.lt
Then reconnect.
Wait up to 5 minutes for automatic SLURM account creation.
Verify that:
No.
Once SSH keys are configured, you can connect directly using SSH key authentication.
Yes.
The HPC system is accessible over the Internet using SSH.
Yes.
Use the Remote SSH extension.
Yes.
Use WinSCP or any other SFTP-compatible application.
Congratulations, you have successfully connected to the HPC system.
Continue with:
In the next guide, you'll submit your first job and see how computations are executed on the cluster.
<note> This guide was prepared and updated by the VU MIF HPC team with the assistance of Microsoft Copilot. All procedures and examples should be validated against the current HPC environment, software stack, and operational policies. </note>