An example Batch Connect app that launches Spyder within a 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):
- Spyder
- Singularity
- TurboVNC
- Lmod
6.0.1+ or any other
module purge
andmodule load <modules>
based CLI used to load appropriate environments within the batch job before launching the spyder environment.
Read the general procedure to develop Open OnDemand apps: https://osc.github.io/ood-documentation/latest/how-tos/app-development.html
These are command line only installation directions.
Clone this repository to Open OnDemand development directory.
cd ~/ondemand/dev
git clone [email protected]:SupercomputingWales/scw_ood_spyder.git
# Change the working directory to this new directory
cd scw_ood_spyder
From here you will make any modifications to the code that you would like and version your changes in your own repository:
#
# Make all your code changes while testing them in the OnDemand Dashboard
#
# ...
#
# Add the files to the Git repository
git add --all
# Commit the staged files to the Git repository
git commit -m "my first commit"
- Fork it ( https://github.com/SupercomputingWales/scw_ood_spyder/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request