Skip to content

use DSQSS for generating reference data #204

use DSQSS for generating reference data

use DSQSS for generating reference data #204

Workflow file for this run

name: Linux
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-20.04", "ubuntu-22.04"]
python-version: ["3.10"]
compiler: ["g++-12", "g++-9"]
exclude:
- os: "ubuntu-20.04"
compiler: "g++-12"
include:
- os: "ubuntu-22.04"
python-version: "3.7"
compiler: "g++-12"
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: apt
run: |
sudo apt update
sudo apt install openmpi-bin libopenmpi-dev libscalapack-openmpi-dev
- name: pip install
run: |
python -m pip install -U pip
python -m pip install numpy scipy toml
- name: make workspace
run: cmake -E make_directory ${{runner.workspace}}/build
- name: cmake
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake -DCMAKE_CXX_COMPILER=${{matrix.compiler}} -DCMAKE_VERBOSE_MAKEFILE=ON $GITHUB_WORKSPACE
- name: build
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build ./ -j4
- name: ctest
working-directory: ${{runner.workspace}}/build
shell: bash
run: OMP_NUM_THREADS=1 ctest -V