Skip to content

Commit

Permalink
CI+tests stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Prather committed Oct 6, 2023
1 parent 61de2e2 commit 0a6585f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 5 additions & 3 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: 4
OMP_NUM_THREADS: 8
OMP_PROC_BIND: "false"
MPI_EXE: mpirun
MPI_NUM_PROCS: 2
Expand Down Expand Up @@ -40,13 +40,15 @@ build:
variables:
NPROC: 8
HOST_ARCH: NATIVE
C_NATIVE: gcc
CXX_NATIVE: g++
before_script:
- dnf -y groupinstall "Development Tools"
- dnf -y install hostname environment-modules cmake mpich-devel hdf5-mpich-devel fftw-devel
- dnf -y install hostname environment-modules cmake mpich-devel fftw-devel
- source /etc/profile
- module load mpi/mpich-x86_64
script:
- ./make.sh clean
- ./make.sh clean hdf5
artifacts:
paths:
- kharma.*
Expand Down
5 changes: 4 additions & 1 deletion tests/clean_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
# Cleans all temporary/gitignore files from tests

TEST_DIR=$(dirname "$(readlink -f "$0")")
rm -rf ${TEST_DIR}/*/*.{phdf,xdmf,rhdf,h5,hst,txt,png} ${TEST_DIR}/tilt_init/mks ${TEST_DIR}/*/frames_* ${TEST_DIR}/*/kharma_parsed_parameters*
rm -rf ${TEST_DIR}/*/*.{phdf,xdmf,rhdf,h5,hst,txt,png} \
${TEST_DIR}/tilt_init/mks \
${TEST_DIR}/*/frames_* \
${TEST_DIR}/*/kharma_parsed_parameters*

0 comments on commit 0a6585f

Please sign in to comment.