uabrc / uabrc/uabrc.github.io

Submitting Jupyter notebooks with sbatch on cheaha

Open
#913 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

style: tutorial 📚📝 system: cheaha 🖧 system: software 💻
Dominant language
Python
Stars
24
Forks
15
Avg merge
10d 3h
Merged PRs (30d)
1

Description

What would you like to see added?

We can use Slurm to submit a Jupyter Notebook input file as a job and track the output in a Jupyter Notebook format:

The below script executes a Jupyter Notebook (for instance, input file even.ipynb) and saves the output in a notebook format (for instance, even_result.ipynb).

jupyter nbconvert --to notebook --execute even.ipynb --output even_result.ipynb

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the repository’s existing documentation for Slurm jobs and Jupyter notebooks to determine where this example belongs. Use the provided nbconvert command as the basis for the example; done means the documentation explains submitting an .ipynb with sbatch and saving the executed output as a notebook.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
documentation, hpc
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.