An interactive app designed for OSC OnDemand that launches a Jupyter Notebook server and an Apache Spark cluster within an Owens batch job.
This Batch Connect app requires the following software be installed on the compute nodes that the batch job is intended to run on (NOT the OnDemand node):
module purge
and module load <modules>
based
CLI used to load appropriate environments within the batch job before
launching the Jupyter Notebook server.Use Git to clone this app and checkout the desired branch/version you want to use:
scl enable git19 -- git clone <repo>
cd <dir>
scl enable git19 -- git checkout <tag/branch>
You will not need to do anything beyond this as all necessary assets are installed. You will also not need to restart this app as it isn't a Passenger app.
To update the app you would:
cd <dir>
scl enable git19 -- git fetch
scl enable git19 -- git checkout <tag/branch>
Again, you do not need to restart the app as it isn't a Passenger app.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)