mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 14:15:19 -04:00
Use --env flags
This commit is contained in:
parent
d506eed4c7
commit
1196b4e7cb
2 changed files with 2 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ test cp2k eiger:
|
|||
needs: ["build cp2k eiger"]
|
||||
timeout: 1h
|
||||
script:
|
||||
- podman run --shm-size=1g -v ${PWD}:/mnt ${DOCKERHUB_IMAGE_NAME} mpiexec -genv OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK} -n ${SLURM_NTASKS} cp2k /opt/cp2k/benchmarks/CI/H2O-32_md.inp
|
||||
- podman run --env OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK} --shm-size=1g -v ${PWD}:/mnt ${DOCKERHUB_IMAGE_NAME} cp2k /opt/cp2k/benchmarks/CI/H2O-32_md.inp
|
||||
variables:
|
||||
SLURM_CONSTRAINT: mc
|
||||
SLURM_CPUS_PER_TASK: 8
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ test cp2k eiger:
|
|||
needs: ["build cp2k eiger"]
|
||||
timeout: 1h
|
||||
script:
|
||||
- podman run --shm-size=1g -v ${PWD}:/mnt ${DOCKERHUB_IMAGE_NAME} mpiexec -n ${SLURM_NTASKS} -genv OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK} cp2k /opt/cp2k/benchmarks/CI/H2O-32_md.inp
|
||||
- podman run --shm-size=1g -v ${PWD}:/mnt ${DOCKERHUB_IMAGE_NAME} mpiexec -genv OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK} -n ${SLURM_NTASKS} cp2k /opt/cp2k/benchmarks/CI/H2O-32_md.inp
|
||||
variables:
|
||||
SLURM_CONSTRAINT: mc
|
||||
SLURM_CPUS_PER_TASK: 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue