You can run the notebook in an interactive session. Change the username in step 0 and the port in step 6! The port range should be [5900-5999]. For access, connect to the ETH network via VPN/WiFi. ``` # Step 0: Connect to D-ITET host ssh XXX@tik42x # Step 1: Set working directory variable export SCRATCH_DIR=/usr/itetnas04/data-scratch-01/$USER/data cd $SCRATCH_DIR # Step 2: Download the container wget -nc https://polybox.ethz.ch/index.php/s/VCKyMV6aFjWoYss/download -O hodl_v5.sif # Step 3: Set cluster to Snowflake export SLURM_CONF=/home/sladmsnow/slurm/slurm.conf # Step 4: Start interactive job srun --gres=gpu:1 --pty bash -i # Step 5: Create .apptainer, .cache, and .mamba on scratch wget -O move_folders.sh "https://polybox.ethz.ch/index.php/s/ZcTWJQkCMv9lyF7/download" bash move_folders.sh # Step 6: Start Jupyter Notebook apptainer exec --nv --cleanenv --bind $SCRATCH_DIR --bind /scratch --bind ~ ./hodl_v5.sif bash -c "source /.hodl_jupyter_env_rc && jupyter notebook --ip 0.0.0.0 --port XXXX --no-browser" ``` When you are finished with the notebook, press ctrl+c (closing the notebook), ctrl+d (exiting the env) and ctrl+d (returning the GPU into the common pool).