On SAGA cluster
Getting started on the SAGA cluster
Get a SAGA account and ask to have a directory created for you under
/mnt/beegfs/users/$USERInstall miniconda
cd /mnt/beegfs/users/$USER wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh sh Miniconda3-latest-Linux-x86_64.shread and accept the license, and install under
/mnt/beegfs/users/$USER/miniconda3, answer questions, and restart your shellinstall
mambafor faster package managementconda install -c conda-forge mambainstall
jupyterlabmamba install -c conda-forge jupyterlabSetup your environment to run CHEASE (optional)
export PATH=$PATH:/mnt/beegfs/users/meneghini/chease/src-f90Create a symbolic link from
/mnt/beegfs/users/$USER/julia/to~/.juliamkdir -p /mnt/beegfs/users/$USER/julia/dev ln -s /mnt/beegfs/users/$USER/julia ~/.julia~/.juliais 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
$HOMEthat points to the Juliadevfolder:ln -s /mnt/beegfs/users/$USER/julia/dev ~/julia_devNow follow the standard Julia and FUSE installation instructions
Jupyter on SAGA cluster
Connect to
sagaand launchscreenThen start the Jupyter lab server from the
screensession (screenwill keepjupyterrunning even when you log out)jupyter lab --no-browser --port 55667Copy the token that you see on this session it should look something like
token=1f1e0259cbc1..................On your computer setup your
~/.ssh/configthis 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 %pOn your computer start a tunnel going through
cybeletosagassh -N -L localhost:33445:localhost:55667 sagaeOn your computer open a web browser tab to
localhost:33445to connect to the Jupyter-lab session onsaga. Use the token when prompted.