From 81c269b2f8001da1881101a2077f0169375dfeb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Jan=C3=9Fen?= Date: Mon, 10 Aug 2026 09:48:07 +0200 Subject: [PATCH 1/2] Build website --- .github/workflows/_config.yml | 13 +++++++++++++ .github/workflows/_toc.yml | 8 ++++++++ .github/workflows/book.yml | 25 +++++++++++++++++++++++++ .github/workflows/deploy.yml | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 78 insertions(+) create mode 100644 .github/workflows/_config.yml create mode 100644 .github/workflows/_toc.yml create mode 100644 .github/workflows/book.yml create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/_config.yml b/.github/workflows/_config.yml new file mode 100644 index 0000000..9d4415b --- /dev/null +++ b/.github/workflows/_config.yml @@ -0,0 +1,13 @@ +title: executorlib with SLURM +author: Jan Janssen + +execute: + execute_notebooks : off + +repository: + url : https://github.com/pyiron-dev/executorlib-with-slurm + path_to_book : "" + +launch_buttons: + notebook_interface : jupyterlab + binderhub_url : https://mybinder.org diff --git a/.github/workflows/_toc.yml b/.github/workflows/_toc.yml new file mode 100644 index 0000000..866b349 --- /dev/null +++ b/.github/workflows/_toc.yml @@ -0,0 +1,8 @@ +format: jb-book +root: README +chapters: +- file: slurm_demo_v1.ipynb +- file: slurm_error_v1.ipynb +- file: slurm_with_flux_v1.ipynb +- file: slurm_with_lammps_v1.ipynb +- file: slurm_with_nested_executor.ipynb diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml new file mode 100644 index 0000000..027fcf6 --- /dev/null +++ b/.github/workflows/book.yml @@ -0,0 +1,25 @@ +name: Jupyterbook + +on: + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: conda-incubator/setup-miniconda@v3 + with: + auto-update-conda: true + python-version: "3.11" + auto-activate-base: false + - name: Install Jupyterbook + shell: bash -l {0} + run: | + conda install -y -c conda-forge "jupyter-book<2" + mv .github/workflows/_toc.yml . + mv .github/workflows/_config.yml . + jupyter-book build . --path-output public + - run: mv public/_build/html public_html + - run: touch public_html/.nojekyll diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..6a48be0 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,32 @@ +name: Deploy + +on: + push: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: conda-incubator/setup-miniconda@v3 + with: + auto-update-conda: true + python-version: "3.11" + auto-activate-base: false + - name: Install Jupyterbook + shell: bash -l {0} + run: | + conda install -y -c conda-forge "jupyter-book<2" + mv .github/workflows/_toc.yml . + mv .github/workflows/_config.yml . + jupyter-book build . --path-output public + - run: mv public/_build/html public_html + - run: touch public_html/.nojekyll + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@3.7.1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BRANCH: gh-pages # The branch the action should deploy to. + FOLDER: public_html # The folder the action should deploy. + CLEAN: true From bd20df7da02f2913922e4c69ea50145b12cb3839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Jan=C3=9Fen?= Date: Mon, 10 Aug 2026 09:53:06 +0200 Subject: [PATCH 2/2] add readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..2346162 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# executorlib with SLURM +A number of example for applying [executorlib](https://executorlib.readthedocs.io/) on [CMTI](https://docs.mpcdf.mpg.de/doc/computing/clusters/systems/Sustainable_Materials.html).