Commit 3d5f8b41 authored by Pape, David (FWCC) - 139658's avatar Pape, David (FWCC) - 139658
Browse files

Headings

parent 48781c97
Prototype of a gitlab-runner using a custom executor to run CI jobs on hemera cluster with Slurm.
Instructions
============
# Instructions
Usage in .gitlab-ci.yml
-----------------------
## Usage in .gitlab-ci.yml
- CI jobs that are supposed to run on the cluster must be tagged with `hemera`
- Pass options to the Slurm job by adding them to your job as variables and prepending "CI_SLURM_"
......@@ -18,7 +16,8 @@ Usage in .gitlab-ci.yml
- CI_SLURM_PARTITION
- CI_SLURM_GRES
Example 1: Run a hybrid MPI/OpenMP job
### Example 1: Run a hybrid MPI/OpenMP job
```yml
run_mpi_omp:
stage: deploy
......@@ -35,7 +34,8 @@ run_mpi_omp:
- mpirun ./mpi_omp
```
Example 2: Run a CUDA job on the GPU partition
### Example 2: Run a CUDA job on the GPU partition
```yml
run_cuda:
stage: deploy
......@@ -50,8 +50,7 @@ run_cuda:
- ./cuda
```
Runner setup
------------
## Runner setup
- Run `./setup.sh` to symlink the runner configuration file to the apropriate place. You will be
warned if the gitlab-runner executable (which you will need when working with artifacts) is not in
......@@ -65,8 +64,7 @@ Runner setup
This process is necessary when executing the runner as a non-privileged user.
Code overview
=============
# Code overview
- setup.sh: creates a symlink for the configuration file
- runner-config.toml: configuration of the gitlab-runner
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment