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

Do not try to run SLEPc or PETSc in configure #2709

Merged
merged 6 commits into from
Jun 14, 2023
Merged

Do not try to run SLEPc or PETSc in configure #2709

merged 6 commits into from
Jun 14, 2023

Conversation

dschwoerer
Copy link
Contributor

Just set the variables to YES - as that may fail for a number of reasons.
It is e.g. expected to fail on login nodes of HPC systems.

PETSc result is anyway ignored, so that only speed ups the cmake step.
SLEPc can probably fail for similar reasons, so lets skip
@dschwoerer
Copy link
Contributor Author

This PR should fix the current CI failures for fedora ...

@ZedThree
Copy link
Member

I was a bit worried about this, because it's potentially useful for making sure the correct flags are included. However, I don't think it has actually ever done that, and only ever reported false positives (that is, failed the configure step even though everything was fine).

So maybe let's just remove uses of PETSC_TEST_RUNS entirely?

@dschwoerer
Copy link
Contributor Author

Any idea why completely removing the TEST_RUNS fails?

Reverts some of the deling commits and changes _runs to _compiles
@dschwoerer
Copy link
Contributor Author

A bit worrying: The runners use different CPUs, so sometimes cached jobs can fail with SIGILL if the code was compiled on a newer CPU than it is run.

@bendudson bendudson merged commit 3500bd0 into master Jun 14, 2023
22 checks passed
@bendudson bendudson deleted the slepc-cmake branch June 14, 2023 15:20
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.

None yet

3 participants