Skip to content

Commit

Permalink
Tone down CI core usage a touch, use abs paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Prather committed Oct 7, 2023
1 parent a8b177d commit aea831f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions scripts/ci/cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
image: quay.io/centos/centos:stream9

variables:
OMP_NUM_THREADS: 8
OMP_NUM_THREADS: 6
OMP_PROC_BIND: "false"
MPI_EXE: mpirun
MPI_NUM_PROCS: 2
Expand All @@ -23,8 +23,8 @@ default:
- dnf -y install hostname environment-modules git mpich fftw bzip2
- source /etc/profile
- module load mpi/mpich-x86_64
- curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
- eval "$(./bin/micromamba shell hook -s posix)"
- curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj /mamba/micromamba
- eval "$(/mamba/micromamba shell hook -s posix)"
- git clone -b dev https://github.com/AFD-Illinois/pyharm.git /pyharm
- micromamba create -y -f /pyharm/environment.yml
- micromamba activate pyharm
Expand All @@ -46,8 +46,8 @@ stages:
build:
stage: build
variables:
NPROC: 8
HOST_ARCH: NATIVE
NPROC: 12
HOST_ARCH: HSW
C_NATIVE: gcc
CXX_NATIVE: g++
before_script:
Expand Down
4 changes: 2 additions & 2 deletions scripts/ci/nvhpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ default:
# interleaved, and prints a summary of results.
before_script:
- export PATH="$HOME/.local/bin:$PATH"
- curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
- eval "$(./bin/micromamba shell hook -s posix)"
- curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj /mamba/micromamba
- eval "$(/mamba/micromamba shell hook -s posix)"
- git clone -b dev https://github.com/AFD-Illinois/pyharm.git /pyharm
- micromamba create -y -f /pyharm/environment.yml
- micromamba activate pyharm
Expand Down

0 comments on commit aea831f

Please sign in to comment.