Difference between revisions of "Getting started"
m |
m |
||
Line 34: | Line 34: | ||
<code> ssh <username>@saga.sigma2.no </code> | <code> ssh <username>@saga.sigma2.no </code> | ||
− | + | Hostnames and usernames can be defined by creating or editing the file <code> ~/.ssh/config </code>. | |
+ | |||
+ | This can be done using vim | ||
+ | |||
+ | <code> vim ~/.ssh/config </code> | ||
+ | |||
+ | Press <code>i</code> to insert text | ||
Host saga | Host saga | ||
Line 40: | Line 46: | ||
user <username> | user <username> | ||
− | Login | + | Press <code>escape</code> to exit insert mode, and then <code>:wq</code> to 'write' and 'quit'. |
+ | |||
+ | Login is then simplified | ||
+ | |||
<code> ssh saga </code> | <code> ssh saga </code> | ||
− | Copy files from cluster to current folder | + | Copy files from cluster to current folder |
− | <code> scp saga:<path/filename> . </code> | + | |
+ | <code> scp saga:<path>/<filename> . </code> | ||
− | Copy files | + | Copy files to the home directory on the cluster |
− | <code> scp <filename> saga: | + | <code> scp <filename> saga: </code> |
===PuTTY=== | ===PuTTY=== |
Revision as of 18:34, 25 September 2021
Contents
User acess
Go to www.metacenter.no > User Login (Passwords) > 1. Request a user account > HPC
Fill in the form and choose the appropriate project. It is recommended to use your UiO username.
The project manager can give you access to the VASP license through the VASP portal and thereafter informing sigma2@uninett.no to give your user the necessary group affiliations (xvasp and vasp5).
Project | Manager | Group | Resources |
---|---|---|---|
NN4604K | Jonathan M. Polfus | Electrochemistry | Saga |
NN9136K | Lasse Vines | LENS | Saga |
NN9180K | Clas Persson | Structure Physics | Saga |
Login
ssh
Login with ssh using a terminal app on UNIX, macOS or Windows Subsystem for Linux
ssh <username>@saga.sigma2.no
Hostnames and usernames can be defined by creating or editing the file ~/.ssh/config
.
This can be done using vim
vim ~/.ssh/config
Press i
to insert text
Host saga HostName = saga.sigma2.no user <username>
Press escape
to exit insert mode, and then :wq
to 'write' and 'quit'.
Login is then simplified
ssh saga
Copy files from cluster to current folder
scp saga:<path>/<filename> .
Copy files to the home directory on the cluster
scp <filename> saga: