Merge pull request #197 from CEMeNT-PSAAP/dev #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Regression Test - Numba | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: jpm | |
#strategy: | |
# fail-fast: false | |
# matrix: | |
# os: ["ubuntu-latest"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Loads modules and activates conda debug | |
run: | | |
pwd | |
ls | |
#module load cuda/12 openmpi/4.0_gcc-10 | |
source ~/miniconda3/etc/profile.d/conda.sh | |
conda create --name ghaction_temp python=3.11 | |
conda activate ghaction_temp | |
which python | |
pip install . | |
bash patch_numba.sh | |
git clone https://github.com/CEMeNT-PSAAP/harmonize.git | |
cd harmonize | |
bash install.sh | |
cd .. | |
- name: Debug | |
run: | | |
source ~/miniconda3/etc/profile.d/conda.sh | |
conda activate ghaction_temp | |
pwd | |
ls | |
lscpu | |
nvidia-smi | |
pip list | |
conda list | |
- name: Regression Test - Numba | |
run: | | |
source ~/miniconda3/etc/profile.d/conda.sh | |
conda activate ghaction_temp | |
cd test/regression | |
python run.py --mode=numba --target=gpu |