Add DG local advection prom example #100
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: CI | |
on: | |
workflow_dispatch: {} | |
pull_request: | |
types: [opened, labeled, synchronize] | |
branches: | |
- main | |
# push: | |
# branches: | |
# - main | |
jobs: | |
docker-librom-image: | |
uses: ./.github/workflows/docker_librom.yml | |
docker-base-image: | |
uses: ./.github/workflows/docker_base.yml | |
pip-with-librom: | |
runs-on: ubuntu-latest | |
needs: [docker-librom-image] | |
container: | |
image: ghcr.io/llnl/pylibrom/pylibrom_env:latest | |
options: --user 1001 --privileged | |
volumes: | |
- /mnt:/mnt | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Set Swap Space | |
uses: pierotofy/set-swap-space@master | |
with: | |
swap-size-gb: 10 | |
- name: Check out pylibROM | |
uses: actions/checkout@v1 | |
with: | |
submodules: 'true' | |
- name: Git Submodules status | |
run: | | |
git submodule status | |
- name: build | |
run: | | |
pip install ./ --global-option="--librom_dir=/env/dependencies/libROM" | |
- name: test | |
run: | | |
cd tests | |
echo run pyVector unit test | |
pytest test_pyVector.py --verbose | |
echo run pyMatrix unit test | |
pytest test_pyMatrix.py --verbose | |
mpirun -n 2 pytest test_pyMatrix.py --verbose | |
echo run pyOptions unit test | |
pytest test_pyOptions.py --verbose | |
echo run pySVD unit test | |
pytest test_pySVD.py --verbose | |
echo run pyStaticSVD unit test | |
pytest test_pyStaticSVD.py --verbose | |
echo run pyIncrementalSVD unit test | |
pytest test_pyIncrementalSVD.py --verbose | |
echo run pyBasisGenerator unit test | |
pytest test_pyBasisGenerator.py --verbose | |
echo run pyBasisReader unit test | |
pytest test_pyBasisReader.py --verbose | |
echo run pyBasisWriter unit test | |
pytest test_pyBasisWriter.py --verbose | |
echo run pyDMD unit test | |
pytest test_pyDMD.py --verbose | |
mpirun -n 2 pytest test_pyDMD.py --verbose | |
echo run pyDEIM unit test | |
pytest test_pyDEIM.py --verbose | |
echo run pyGNAT unit test | |
pytest test_pyGNAT.py --verbose | |
echo run pyQDEIM unit test | |
pytest test_pyQDEIM.py --verbose | |
echo run pyS_OPT unit test | |
pytest test_pyS_OPT.py --verbose | |
echo run pyUtilities unit test | |
pytest test_pyUtilities.py --verbose | |
cmake-with-librom: | |
runs-on: ubuntu-latest | |
needs: [docker-librom-image] | |
container: | |
image: ghcr.io/llnl/pylibrom/pylibrom_env:latest | |
options: --user 1001 --privileged | |
volumes: | |
- /mnt:/mnt | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Set Swap Space | |
uses: pierotofy/set-swap-space@master | |
with: | |
swap-size-gb: 10 | |
- name: Check out pylibROM | |
uses: actions/checkout@v1 | |
with: | |
submodules: 'true' | |
- name: Git Submodules status | |
run: | | |
git submodule status | |
- name: build | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DLIBROM_DIR=/env/dependencies/libROM | |
make | |
- name: test | |
run: | | |
cd tests | |
echo run pyVector unit test | |
pytest test_pyVector.py --verbose | |
echo run pyMatrix unit test | |
pytest test_pyMatrix.py --verbose | |
mpirun -n 2 pytest test_pyMatrix.py --verbose | |
echo run pyOptions unit test | |
pytest test_pyOptions.py --verbose | |
echo run pySVD unit test | |
pytest test_pySVD.py --verbose | |
echo run pyStaticSVD unit test | |
pytest test_pyStaticSVD.py --verbose | |
echo run pyIncrementalSVD unit test | |
pytest test_pyIncrementalSVD.py --verbose | |
echo run pyBasisGenerator unit test | |
pytest test_pyBasisGenerator.py --verbose | |
echo run pyBasisReader unit test | |
pytest test_pyBasisReader.py --verbose | |
echo run pyBasisWriter unit test | |
pytest test_pyBasisWriter.py --verbose | |
echo run pyDMD unit test | |
pytest test_pyDMD.py --verbose | |
mpirun -n 2 pytest test_pyDMD.py --verbose | |
echo run pyDEIM unit test | |
pytest test_pyDEIM.py --verbose | |
echo run pyGNAT unit test | |
pytest test_pyGNAT.py --verbose | |
echo run pyQDEIM unit test | |
pytest test_pyQDEIM.py --verbose | |
echo run pyS_OPT unit test | |
pytest test_pyS_OPT.py --verbose | |
echo run pyUtilities unit test | |
pytest test_pyUtilities.py --verbose | |
baseline: | |
runs-on: ubuntu-latest | |
needs: [docker-base-image] | |
container: | |
image: ghcr.io/llnl/pylibrom/pylibrom_env_base:latest | |
options: --user 1001 --privileged | |
volumes: | |
- /mnt:/mnt | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Set Swap Space | |
uses: pierotofy/set-swap-space@master | |
with: | |
swap-size-gb: 10 | |
- name: Check out pylibROM | |
uses: actions/checkout@v1 | |
with: | |
submodules: 'true' | |
- name: Git Submodules status | |
run: | | |
git submodule status | |
- name: build | |
run: | | |
pip install ./ | |
- name: test | |
run: | | |
cd tests | |
echo run pyVector unit test | |
pytest test_pyVector.py --verbose | |
echo run pyMatrix unit test | |
pytest test_pyMatrix.py --verbose | |
mpirun -n 2 pytest test_pyMatrix.py --verbose | |
echo run pyOptions unit test | |
pytest test_pyOptions.py --verbose | |
echo run pySVD unit test | |
pytest test_pySVD.py --verbose | |
echo run pyStaticSVD unit test | |
pytest test_pyStaticSVD.py --verbose | |
echo run pyIncrementalSVD unit test | |
pytest test_pyIncrementalSVD.py --verbose | |
echo run pyBasisGenerator unit test | |
pytest test_pyBasisGenerator.py --verbose | |
echo run pyBasisReader unit test | |
pytest test_pyBasisReader.py --verbose | |
echo run pyBasisWriter unit test | |
pytest test_pyBasisWriter.py --verbose | |
echo run pyDMD unit test | |
pytest test_pyDMD.py --verbose | |
mpirun -n 2 pytest test_pyDMD.py --verbose | |
echo run pyDEIM unit test | |
pytest test_pyDEIM.py --verbose | |
echo run pyGNAT unit test | |
pytest test_pyGNAT.py --verbose | |
echo run pyQDEIM unit test | |
pytest test_pyQDEIM.py --verbose | |
echo run pyS_OPT unit test | |
pytest test_pyS_OPT.py --verbose | |
echo run pyUtilities unit test | |
pytest test_pyUtilities.py --verbose | |