Archiving this repository as I am no longer working on this project, however, I am keeping it around because it excellently details how to port bind services running inside a Singularity/Apptainer container to your local machine.
Visualizing some Spotify data!
ssh <psu_user_id>@submit.aci.ics.psu.edu
hostname
qsub -I -A <allocation_name> -l nodes=1:ppn=20 -l pmem=5gb -l walltime=08:00:00
hostname
singularity run ~/work/DS330/spotify-data-project.sif
ssh <psu_user_id>@<submit_node_host_name>
ssh -N -f -L localhost:8889:localhost:8888 <psu_user_id>@<interactive_batch_job_host_name>
ssh -N -f -L localhost:8890:localhost:8889 <psu_user_id>@<submit_node_host_name>
Enter the following web address into your address bar:
localhost:8890
IMPORTANT: You will be prompted to enter a token passphrase before you will be allowed to use Jupyter. Copy and paste the token passphrase printed out by Jupyter in the interactive batch job into the prompt.