Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/_config.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions .github/workflows/_toc.yml
Original file line number Diff line number Diff line change
@@ -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
25 changes: 25 additions & 0 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
@@ -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
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).
Loading