Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI job to run unittests under MPI #1244

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Apr 30, 2021

  1. Add CI job to run unittests under MPI

    In Qiskit#1242 we added a basic smoke test job for MPI builds using standalone
    mode. That job builds aer in standalone mode with MPI and then runs a
    qobj of a grovers circuit with mpi enabled and validate it works (and
    the result metadata has the mpi fields set). That was useful to provide
    a quick smoke test to verify that a proposed change doesn't completely
    break MPI builds. However, it doesn't fully validate aer's usage with MPI
    enabled. This commit adds a new CI job that runs the full python unittest
    suite under mpi run using a aer binary built with mpi support. The
    tradeoff there though is we have to run the tests serially using the
    stdlib python unittest runner (since stestr runs tests in parallel
    processes) the process is running under mpirun.
    
    Additionally, this commit bumps the timeout for the unit test jobs to 1
    hour as we've been regularly hitting the timeout on the CI test jobs.
    The timeout for the new mpi job is double that (120 min) since it is
    running tests serially instead of in 2 or 4 processes.
    mtreinish committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    4101610 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ef96e0 View commit details
    Browse the repository at this point in the history
  3. Fix yaml syntax

    mtreinish committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    20a7451 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. Fix typo

    mtreinish committed May 3, 2021
    Configuration menu
    Copy the full SHA
    8956064 View commit details
    Browse the repository at this point in the history
  2. Use a venv

    mtreinish committed May 3, 2021
    Configuration menu
    Copy the full SHA
    3ef360a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f57225 View commit details
    Browse the repository at this point in the history