Skip to content

Commit

Permalink
CI: try to fix CPU build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Prather committed Oct 6, 2023
1 parent 26cf7f1 commit 61de2e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion machines/bp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ if [[ $HOST == "cinnabar"* ]]; then
module purge # Handle modules inside this script
HOST_ARCH="HSW" # This won't change
DEVICE_ARCH="TURING75"
NPROC=56

# Runtime
MPI_NUM_PROCS=1
Expand All @@ -93,7 +94,7 @@ if [[ $HOST == "cinnabar"* ]]; then
C_NATIVE="gcc"
CXX_NATIVE="g++"
else
module load nvhpc
module load nvhpc/23.7
PREFIX_PATH="$HOME/libs/hdf5-nvhpc"
C_NATIVE="nvc"
CXX_NATIVE="nvc++"
Expand Down
6 changes: 3 additions & 3 deletions scripts/ci/cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ stages:
build:
stage: build
variables:
NPROC: 4
NPROC: 8
HOST_ARCH: NATIVE
before_script:
- dnf -y groupinstall "Development Tools"
- dnf -y install hostname environment-modules cmake mpich-devel fftw-devel
- dnf -y install hostname environment-modules cmake mpich-devel hdf5-mpich-devel fftw-devel
- source /etc/profile
- module load mpi/mpich-x86_64
script:
- ./make.sh clean hdf5
- ./make.sh clean
artifacts:
paths:
- kharma.*
Expand Down

0 comments on commit 61de2e2

Please sign in to comment.