Git Product home page Git Product logo

ds330_final_project's Introduction

Note from Author

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.

DS330_final_project

Visualizing some Spotify data!

Launch Jupyter/Dask container on Roar

Step 1 - Log onto Roar

ssh <psu_user_id>@submit.aci.ics.psu.edu

Step 2 - Get submit node hostname

hostname

Step 3 - Start interactive batch job

qsub -I -A <allocation_name> -l nodes=1:ppn=20 -l pmem=5gb -l walltime=08:00:00

Step 4 - Get batch job node host name

hostname

Step 5 - Launch Jupyter server in interactivate batch job

singularity run ~/work/DS330/spotify-data-project.sif

Step 6 - Log into specific submit node host name

ssh <psu_user_id>@<submit_node_host_name>

Step 7 - Use ssh to bind batch job and submit node

ssh -N -f -L localhost:8889:localhost:8888 <psu_user_id>@<interactive_batch_job_host_name>

Step 8 - Use ssh to bind submit node with your local system

ssh -N -f -L localhost:8890:localhost:8889 <psu_user_id>@<submit_node_host_name>

Step 9 - Open Jupyter Lab in your web browser

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.

ds330_final_project's People

Contributors

nuccitheboss avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.