Jupyterhub


Server:jupyterhub.geo.utexas.edu thunderhead-3.geo.utexas.edu

Location: /home/jupyterhub/


Basic Install:

Before running anything do source  /home/jupyterhub/hub_files/minicondainit

UTdirect Integration:

Add fenicsx

source  /home/jupyterhub/hub_files/minicondainit
conda create -n fenicsx
conda activate fenicsx
conda install -c conda-forge fenics-dolfinx mpich pyvista  matplotlib NumPy SciPy gmsh python-gmsh

conda install ipykernel #For jupyerhub integraiton
python -m ipykernel install --display-name  fenicsx

conda create -n class1
conda activate class1
conda install ipykernel regionmask numpy xarray cartopy netcdf4 metpy dask climlab 
conda create -n GEO416W
conda activate GEO416W
conda install datetime seaborn  geopandas  shapely      ipykernel regionmask numpy xarray cartopy netcdf4 metpy dask climlab  


Julia Integration:

export JUP=/home/jupyterhub/
#INSTALL JULIA
cd $JUP;wget https://julialang-s3.julialang.org/bin/linux/x64/1.9/julia-1.9.2-linux-x86_64.tar.gz;tar -xvf *.tar.gz;rm *.tar.gz

#For each REPO set the path and then install the packages
export JULIA_DEPOT_PATH=$JUP/julia_pkgs/data_analysis-192
$JUP/julia-1.9.2/bin/julia -e 'using Pkg;Pkg.add(["CSV","DataFrames","IJulia","Plots","DelimitedFiles","NCDatasets","HTTP","BenchmarkTools","PyCall"]);'
 #edit kernel  vi /root/.local/share/jupyter/kernels/julia-mp-1.9/kernel.json
#display_name
#location
#ENV variable    "env": {"JULIA_DEPOT_PATH":"/home/jupyterhub/julia_pkgs/data_analysis-192", "JULIA_NUM_THREADS": "4"},
#Copy Kernels from  /root/.local/share/jupyter/kernels/XXXX to /home/jupyterhub/miniconda3/envs/hub/share/jupyter/kernels/XXXX and rename as needed
#edit the JSON file