-
Notifications
You must be signed in to change notification settings - Fork 161
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
base: master
Are you sure you want to change the base?
PETSc updates #3997
Changes from all commits
e0fae0c
80b0a5a
8ab9c86
e18cd63
62d6b8e
c4d64e6
2cf30db
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -59,12 +59,12 @@ jobs: | |||||||
|
||||||||
- name: Build Firedrake | ||||||||
run: | | ||||||||
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 \ | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
--mpicxx="$MPICH_DIR"/mpicxx \ | ||||||||
--mpif90="$MPICH_DIR"/mpif90 \ | ||||||||
|
@@ -77,7 +77,6 @@ jobs: | |||||||
--torch \ | ||||||||
--jax \ | ||||||||
--netgen \ | ||||||||
--slepc \ | ||||||||
--install thetis \ | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
--install gusto \ | ||||||||
--install icepack \ | ||||||||
|
@@ -87,6 +86,7 @@ jobs: | |||||||
--install defcon \ | ||||||||
--install gadopt \ | ||||||||
--install asQ \ | ||||||||
--package-branch petsc dham/merge_upstream \ | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|| (cat firedrake-install.log && /bin/false) | ||||||||
|
||||||||
- name: Install test dependencies | ||||||||
|
@@ -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 | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
. ../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 | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
. ../firedrake_venv/bin/activate | ||||||||
firedrake-run-split-tests 2 6 "$EXTRA_PYTEST_ARGS --junit-xml=firedrake2_{#}.xml" | ||||||||
|
||||||||
- name: Run tests (nprocs = 3) | ||||||||
if: ${{ success() || steps.build.conclusion == 'success' }} | ||||||||
run: | | ||||||||
unset PETSC_DIR PETSC_ARCH SLEPC_DIR | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
. ../firedrake_venv/bin/activate | ||||||||
firedrake-run-split-tests 3 4 "$EXTRA_PYTEST_ARGS --junit-xml=firedrake3_{#}.xml" | ||||||||
|
||||||||
- name: Run tests (nprocs = 4) | ||||||||
if: ${{ success() || steps.build.conclusion == 'success' }} | ||||||||
run: | | ||||||||
unset PETSC_DIR PETSC_ARCH SLEPC_DIR | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
. ../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 | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
. ../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 | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
. ../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 | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
. ../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 | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
. ../firedrake_venv/bin/activate | ||||||||
firedrake-run-split-tests 8 1 "$EXTRA_PYTEST_ARGS --junit-xml=firedrake8_{#}.xml" | ||||||||
|
||||||||
|
@@ -171,6 +179,7 @@ jobs: | |||||||
- name: Test pyadjoint | ||||||||
if: ${{ matrix.scalar-type == 'real' }} | ||||||||
run: | | ||||||||
unset PETSC_DIR PETSC_ARCH SLEPC_DIR | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
. ../firedrake_venv/bin/activate | ||||||||
cd ../firedrake_venv/src/pyadjoint | ||||||||
python -m pytest \ | ||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.