Revision f2d7330f25f8a11124db09000918ae38ae00d4a7 authored by Joseph Marcus on 16 May 2021, 23:59:23 UTC, committed by Joseph Marcus on 16 May 2021, 23:59:23 UTC
1 parent 0ebb683
start-nb.sbatch
#!/bin/bash
#SBATCH --time=04:00:00
#SBATCH --partition=mstephens
#SBATCH --account=pi-mstephens
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --mem-per-cpu=5G
#SBATCH --job-name=nb-tunnel
#SBATCH --output=nb-log-%J.out
#SBATCH --error=nb-log-%J.err
# activate the conda env
source activate feems_analysis_e
ip=$(/sbin/ip route get 8.8.8.8 | awk '{print $NF;exit}')
port=$((10000+ $RANDOM % 20000))
echo "http://"$ip":"$port"/"
jupyter lab --no-browser --ip=$ip --port=$port --log-level='ERROR'
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...