-
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
Conversation
|
|
6e58fd1
to
7119ce3
Compare
855cc85
to
2cf30db
Compare
@@ -59,12 +59,12 @@ jobs: | |||
|
|||
- name: Build Firedrake | |||
run: | | |||
unset PETSC_DIR PETSC_ARCH SLEPC_DIR |
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.
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 comment
The reason will be displayed to describe this comment to others. Learn more.
--mpicc="$MPICH_DIR"/mpicc \ | |
--honour-petsc-dir \ | |
--mpicc="$MPICH_DIR"/mpicc \ |
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
--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 |
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.
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 |
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.
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 |
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.
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 |
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.
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 |
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.
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 |
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.
unset PETSC_DIR PETSC_ARCH SLEPC_DIR |
.github/workflows/build.yml
Outdated
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
unset PETSC_DIR PETSC_ARCH SLEPC_DIR |
Co-authored-by: Connor Ward <[email protected]>
Goes with firedrakeproject/petsc#25 and firedrakeproject/slepc#10