• Pascal Roth's avatar
    Adds steps for deployment on SLURM clusters (#273) · c3c7f6bd
    Pascal Roth authored
    # Description
    
    Adds two options to the `docker/container.sh` file:
    
    - `push`: which will export the latest docker container to a singluarity
    image and scp it on some compute cluster
    - `job`: which will launch automatically a job on a SLURM compute
    cluster
    
    Had to make minimal changes to the `Dockerfile`, the
    `docker_compose.yaml`, and `env.py` which at the moment contains the
    parameters for these operations. For the job settings can be formulated
    in `docker/cluster/job_submit.sh`.
    
    Currently, this setup has been tested on ETH Zurich Euler cluster.
    
    Fixes #146
    
    ## Type of change
    
    - New feature (non-breaking change which adds functionality)
    
    ## Checklist
    
    - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
    `./orbit.sh --format`
    - [ ] I have made corresponding changes to the documentation
    - [x] My changes generate no new warnings
    - [ ] I have added tests that prove my fix is effective or that my
    feature works
    - [x] I have updated the changelog and the corresponding version in the
    extension's `config/extension.toml` file
    - [x] I have added my name to the `CONTRIBUTORS.md` or my name already
    exists there
    c3c7f6bd
.dockerignore 274 Bytes