Skip to content

add iqmc mpi test to workflow #71

add iqmc mpi test to workflow

add iqmc mpi test to workflow #71

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: debug
run: |
pwd
ls
- uses: mpi4py/setup-mpi@v1
- name: Install dependencies
run: |
#sudo apt-get install libopenmpi-dev
pip install numpy numba h5py matplotlib scipy pytest colorama mpi4py
pip list
pip install -e .
- name: Patch Numba
run : |
bash .github/workflows/patch.sh
- name: Unit Test
run: |
pytest
- name: Regression Test - Python
run: |
cd test/regression
python run.py
- name: Regression Test - MPI
run: |
cd test/regression
python run.py --mpiexec=4 --skip=iqmc*
python run.py --mpiexec=2 --name=iqmc*
- name: Regression Test - Numba
run: |
cd test/regression
python run.py --mode=numba
- name: Regression Test - Numba and MPI
run: |
cd test/regression
python run.py --mode=numba --mpiexec=4 --skip=iqmc*
python run.py --mode=numba --mpiexec=2 --name=iqmc*
# TODO: Performance test
# TODO: GPU test