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

PETSc updates #3997

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

PETSc updates #3997

wants to merge 10 commits into from

Conversation

dham
Copy link
Member

@dham dham commented Jan 28, 2025

Copy link

github-actions bot commented Jan 28, 2025

TestsPassed ✅Skipped ⏭️Failed ❌
Firedrake real8197 ran7484 passed712 skipped1 failed

Copy link

github-actions bot commented Jan 28, 2025

TestsPassed ✅Skipped ⏭️Failed ❌
Firedrake complex8268 ran6594 passed1674 skipped0 failed

@dham dham force-pushed the dham/merge_petsc_upstream branch from 6e58fd1 to 7119ce3 Compare February 9, 2025 10:00
@connorjward connorjward force-pushed the dham/merge_petsc_upstream branch from 855cc85 to 2cf30db Compare February 12, 2025 10:02
@connorjward connorjward marked this pull request as ready for review February 12, 2025 10:02
@connorjward connorjward changed the title Test PETSc merge PETSc updates Feb 12, 2025
@@ -59,12 +59,12 @@ jobs:

- name: Build Firedrake
run: |
unset PETSC_DIR PETSC_ARCH SLEPC_DIR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
unset PETSC_DIR PETSC_ARCH SLEPC_DIR

cd ..
# Linting should ignore unquoted shell variable $COMPLEX
# shellcheck disable=SC2086
./firedrake/scripts/firedrake-install \
$COMPLEX \
--honour-petsc-dir \
--mpicc="$MPICH_DIR"/mpicc \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--mpicc="$MPICH_DIR"/mpicc \
--honour-petsc-dir \
--mpicc="$MPICH_DIR"/mpicc \

.github/workflows/build.yml Outdated Show resolved Hide resolved
@@ -87,6 +86,7 @@ jobs:
--install defcon \
--install gadopt \
--install asQ \
--package-branch petsc dham/merge_upstream \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--package-branch petsc dham/merge_upstream \

@@ -103,49 +103,57 @@ jobs:
run: |
: # Use pytest-xdist here so we can have a single collated output (not possible
: # for parallel tests)
unset PETSC_DIR PETSC_ARCH SLEPC_DIR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
unset PETSC_DIR PETSC_ARCH SLEPC_DIR

. ../firedrake_venv/bin/activate
firedrake-run-split-tests 1 1 "-n 12 $EXTRA_PYTEST_ARGS --junit-xml=firedrake1_{#}.xml"

- name: Run tests (nprocs = 2)
# Run even if earlier tests failed
if: ${{ success() || steps.build.conclusion == 'success' }}
run: |
unset PETSC_DIR PETSC_ARCH SLEPC_DIR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
unset PETSC_DIR PETSC_ARCH SLEPC_DIR

. ../firedrake_venv/bin/activate
firedrake-run-split-tests 4 3 "$EXTRA_PYTEST_ARGS --junit-xml=firedrake4_{#}.xml"

- name: Run tests (nprocs = 5)
if: ${{ success() || steps.build.conclusion == 'success' }}
run: |
unset PETSC_DIR PETSC_ARCH SLEPC_DIR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
unset PETSC_DIR PETSC_ARCH SLEPC_DIR

. ../firedrake_venv/bin/activate
firedrake-run-split-tests 5 2 "$EXTRA_PYTEST_ARGS --junit-xml=firedrake5_{#}.xml"

- name: Run tests (nprocs = 6)
if: ${{ success() || steps.build.conclusion == 'success' }}
run: |
unset PETSC_DIR PETSC_ARCH SLEPC_DIR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
unset PETSC_DIR PETSC_ARCH SLEPC_DIR

. ../firedrake_venv/bin/activate
firedrake-run-split-tests 6 2 "$EXTRA_PYTEST_ARGS --junit-xml=firedrake6_{#}.xml"

- name: Run tests (nprocs = 7)
if: ${{ success() || steps.build.conclusion == 'success' }}
run: |
unset PETSC_DIR PETSC_ARCH SLEPC_DIR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
unset PETSC_DIR PETSC_ARCH SLEPC_DIR

. ../firedrake_venv/bin/activate
firedrake-run-split-tests 7 1 "$EXTRA_PYTEST_ARGS --junit-xml=firedrake7_{#}.xml"

- name: Run tests (nprocs = 8)
if: ${{ success() || steps.build.conclusion == 'success' }}
run: |
unset PETSC_DIR PETSC_ARCH SLEPC_DIR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
unset PETSC_DIR PETSC_ARCH SLEPC_DIR

@@ -171,6 +179,7 @@ jobs:
- name: Test pyadjoint
if: ${{ matrix.scalar-type == 'real' }}
run: |
unset PETSC_DIR PETSC_ARCH SLEPC_DIR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
unset PETSC_DIR PETSC_ARCH SLEPC_DIR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants