Skip to content

Commit

Permalink
Docker: Add --shm-size=1g to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Feb 27, 2022
1 parent 9f8b4e1 commit d8fb891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The only prerequisite is to [install Docker](https://docs.docker.com/get-docker/

<!-- markdownlint-disable MD013 -->
```shell
docker run -ti -v "$(pwd)":/mnt cp2k_prod_psmp mpiexec -genv OMP_NUM_THREADS=2 -np 16 cp2k dbcsr.inp
docker run --shm-size=1g -ti -v "$(pwd)":/mnt cp2k_prod_psmp mpiexec -genv OMP_NUM_THREADS=2 -np 16 cp2k dbcsr.inp
```
<!-- markdownlint-enable MD013 -->

Expand All @@ -35,7 +35,7 @@ to check pull requests and populate the [dashboard](https://dashboard.cp2k.org).
Building a test image executes the test:

```shell
docker build -f Dockerfile.test_sdbg -t cp2k_test_sdbg ../../
docker build --shm-size=1g -f Dockerfile.test_sdbg -t cp2k_test_sdbg ../../
```

To retrieve the cached report of an old image simply run it:
Expand Down

0 comments on commit d8fb891

Please sign in to comment.