Skip to content

DavidChoi76/Jupyter-xsede

 
 

Repository files navigation

CyberGIS-Jupyter to submit to XSEDE Comet

This library is a production configuration for submitting HPC jobs from Jupyter notebooks. Here the SUMMA model is used as the example Hydro model to be run on HPC; and the target HPC platform is Comet, which is one of the super-computeris that XSEDE is managing.

The principle here is to use Singularity to pull the SUMMA Docker image; and copy the SUMMA test data to Comet; and then construct and submit a HPC job script based on a existing template and user's inputs in the GUI widgest; Finally the status of the job is dynamically updated in the widgets, and the output graph is downloaded back and displayed in the notebook.

Prepare

The folder summatest/ contains the customized test data of SUMMA. The singularity image is not included in the repo due to its size. So to prepare the library, it is required to build the SUMMA singularity image from Dokcer hub using singularity pull docker://bartnijssen/summa summa.img in the summatest/ folder.

Similarly, the folder taudemtest/ contains the customized test data of TauDEM. It is required to build the Taudem singularity image from Dokcer hub using singularity pull docker://wkmor1/docker-taudem taudem.simg in the taudemtest/ folder.

Besides, an account on Comet with corresponding allocation is needed to sign-in and complete the computation.

Install

Run python setup.py install to install the cybergis python library.

Usage

There is a webpage people can easily get access to the Jupyter notebook that has been built.

  1. A basic example usage of this library is shown below (using the example notebook in the repo):

  1. Summa test example

  1. TauDEM test example

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 70.8%
  • Shell 13.9%
  • IDL 8.6%
  • HTML 2.5%
  • Prolog 2.1%
  • Dockerfile 1.1%
  • Other 1.0%