Getting started on the SAGA cluster
Get a SAGA account and ask to have a directory created for you under
/mnt/beegfs/users/$USER
Install miniconda
cd /mnt/beegfs/users/$USER wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh sh Miniconda3-latest-Linux-x86_64.sh
read and accept the license, and install under
/mnt/beegfs/users/$USER/miniconda3
, answer questions, and restart your shellinstall
mamba
for faster package managementconda install -c conda-forge mamba
install
jupyterlab
mamba install -c conda-forge jupyterlab
Setup your environment to run CHEASE (optional)
export PATH=$PATH:/mnt/beegfs/users/meneghini/chease/src-f90
Create a symbolic link from
/mnt/beegfs/users/$USER/julia/
to~/.julia
mkdir -p /mnt/beegfs/users/$USER/julia/dev ln -s /mnt/beegfs/users/$USER/julia ~/.julia
~/.julia
is where the Julia will install itself by default, and this will trick it to install itself in the IR&D folder instead.For convenience create also a symbolic link in your
$HOME
that points to the Juliadev
folder:ln -s /mnt/beegfs/users/$USER/julia/dev ~/julia_dev
Now follow the standard Julia and FUSE installation instructions
Jupyter on SAGA cluster
Connect to
saga
and launchscreen
Then start the Jupyter lab server from the
screen
session (screen
will keepjupyter
running even when you log out)jupyter lab --no-browser --port 55667
Copy the token that you see on this session it should look something like
token=1f1e0259cbc1..................
On your computer setup your
~/.ssh/config
this way (need to do this only once):Host cybele cybele.gat.com Hostname cybele.gat.com User meneghini Port 2039 Host sagae saga.gat.com Hostname saga.gat.com User meneghini ProxyCommand ssh -q cybele nc %h %p
On your computer start a tunnel going through
cybele
tosaga
ssh -N -L localhost:33445:localhost:55667 sagae
On your computer open a web browser tab to
localhost:33445
to connect to the Jupyter-lab session onsaga
. Use the token when prompted.