-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,31 @@ LUMI can be accessed via ssh using the provided username and ssh key pair: | |
ssh -i <path-to-private-key> <username>@lumi.csc.fi | ||
``` | ||
|
||
#### Working with git (OPTIONAL) | ||
|
||
In order to push code to your own fork, you need to **add your SSH public key in LUMI** (created on LUMI, **not** the used to log into LUMI) | ||
your github account. The SSH key can be added to your github account using a browser . In you github profile go to "Settings"->"SSH and GPG keys"->"New SSH key" and copy-paste output of the following command: | ||
``` | ||
cat $HOME/.ssh/id_rsa.pub | ||
``` | ||
|
||
Once succesfull, make sure you in your personal workspace in **scratch** area `/scratch/project_465000536/$USER`, clone the repository, and a create a branch: | ||
``` | ||
git clone [email protected]:<my-github-id>/summerschool.git | ||
git checkout -b hpcss24 | ||
``` | ||
|
||
If you haven't used git before in LUMI, you need to add also your identity: | ||
``` | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Your Name" | ||
``` | ||
|
||
Default editor for commit messages is *vim*, if you prefer something else you can add | ||
to the file `$HOME/.bashrc` *e.g.* | ||
``` | ||
export EDITOR=nano | ||
``` | ||
#### Disk areas | ||
|
||
All the exercises in the supercomputers should be carried out in the | ||
|