Skip to content
Snippets Groups Projects
Commit cd8b30f3 authored by Thomas Purcell's avatar Thomas Purcell
Browse files

Update CI for new test

parent 0cc1ae5b
No related branches found
No related tags found
No related merge requests found
...@@ -243,11 +243,11 @@ test-intel-bin-base-gpu: ...@@ -243,11 +243,11 @@ test-intel-bin-base-gpu:
- export INTEL_COMP_ROOT=/home/runner/intel/oneapi/compiler/latest/linux/ - export INTEL_COMP_ROOT=/home/runner/intel/oneapi/compiler/latest/linux/
- export MKLROOT=/home/runner/intel/oneapi/mkl/latest/ - export MKLROOT=/home/runner/intel/oneapi/mkl/latest/
- export LD_LIBRARY_PATH=$I_MPI_ROOT/lib/:$I_MPI_ROOT/lib/release:$MKLROOT/lib/intel64:$INTEL_COMP_ROOT/lib/:$INTEL_COMP_ROOT/compiler/lib/intel64/:$LD_LIBRARY_PATH:$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7 - export LD_LIBRARY_PATH=$I_MPI_ROOT/lib/:$I_MPI_ROOT/lib/release:$MKLROOT/lib/intel64:$INTEL_COMP_ROOT/lib/:$INTEL_COMP_ROOT/compiler/lib/intel64/:$LD_LIBRARY_PATH:$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7
- export PYTHONPATH=$HOME/intel/oneapi/intelpython/latest/lib/python3.7/site-packages/:cpp_sisso_env_intel_py/lib/python3.7/site-packages/ - export PYTHONPATH=$HOME/intel/oneapi/intelpython/latest/lib/python3.7/site-packages/
- export PATH=$INTEL_COMP_ROOT/bin/:$INTEL_COMP_ROOT/bin/intel64:$I_MPI_ROOT/bin:$PATH - export PATH=$INTEL_COMP_ROOT/bin/:$INTEL_COMP_ROOT/bin/intel64:$I_MPI_ROOT/bin:$PATH
- export OMP_NUM_THREADS=1 - export OMP_NUM_THREADS=1
- cd tests/gpu_test/regression/ - cd tests/gpu_test/regression/
- for direc in ../*/; do cd $direc; if [[ $direc != *"param"* ]]; then mpiexec -n 1 ../../../intel_base/bin/sisso++; fi; done - for direc in ../*/; do cd $direc; mpiexec -n 1 ../../../intel_base/bin/sisso++; python check_model.py; done
- cd ../../../ - cd ../../../
build-gnu-base: build-gnu-base:
...@@ -450,9 +450,10 @@ test-gnu-bin-base-gpu: ...@@ -450,9 +450,10 @@ test-gnu-bin-base-gpu:
needs: ["build-gnu-base"] needs: ["build-gnu-base"]
script: script:
- export LD_LIBRARY_PATH=$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7:$LD_LIBRARY_PATH - export LD_LIBRARY_PATH=$HOME/intel/oneapi/intelpython/latest/lib/:$HOME/intel/oneapi/intelpython/latest/lib/python3.7:$LD_LIBRARY_PATH
- export PYTHONPATH=$HOME/intel/oneapi/intelpython/latest/lib/python3.7/site-packages/
- export OMP_NUM_THREADS=1 - export OMP_NUM_THREADS=1
- cd tests/gpu_test/regression/ - cd tests/gpu_test/regression/
- for direc in ../*/; do cd $direc; if [[ $direc != *"param"* ]]; then mpiexec -n 1 ../../../gnu_base/bin/sisso++; fi; done - for direc in ../*/; do cd $direc; mpiexec -n 1 ../../../gnu_base/bin/sisso++; python ../check_model.py; done
- cd ../../../ - cd ../../../
build-gnu-gcov: build-gnu-gcov:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment