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

Converted README to Markdown

parent a3129cf9
......@@ -17,46 +17,48 @@ Instructions -- Usage in .gitlab-ci.yml
- CI_SLURM_GRES
- Example 1 -- Run a hybrid MPI/OpenMP job
run_mpi_omp:
stage: deploy
dependencies:
- build_mpi_omp
tags:
- hemera
variables:
CI_SLURM_NODES: 2
CI_SLURM_NTASKS_PER_NODE: 4
CI_SLURM_CPUS_PER_TASK: 8
script:
- export OMP_NUM_THREADS=8
- mpirun ./mpi_omp
```yml
run_mpi_omp:
stage: deploy
dependencies:
- build_mpi_omp
tags:
- hemera
variables:
CI_SLURM_NODES: 2
CI_SLURM_NTASKS_PER_NODE: 4
CI_SLURM_CPUS_PER_TASK: 8
script:
- export OMP_NUM_THREADS=8
- mpirun ./mpi_omp
```
- Example 2 -- Run a CUDA job on the GPU partition
run_cuda:
stage: deploy
dependencies:
- build_cuda
tags:
- hemera
variables:
CI_SLURM_PARTITION: "gpu"
CI_SLURM_GRES: "gpu:1"
script:
- ./cuda
```yml
run_cuda:
stage: deploy
dependencies:
- build_cuda
tags:
- hemera
variables:
CI_SLURM_PARTITION: "gpu"
CI_SLURM_GRES: "gpu:1"
script:
- ./cuda
```
Instructions -- Runner setup
============================
- Run ./setup.sh to symlink the runner configuration file to the apropriate place. You will be
- 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
your path.
- Start the runner: gitlab-runner run --working-directory
- Start the runner: `gitlab-runner run --working-directory`
- Register runners to your project: gitlab-runner register
- Register runners to your project: `gitlab-runner register`
You'll need one runner with the tag "hemera" and one without.
- Edit the runner-config.toml and place the tokens of the newly generated configuration blocks in
......
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