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

Remove deprecated petsc things #12288

Merged
merged 2 commits into from
May 23, 2021

Conversation

drwells
Copy link
Member

@drwells drwells commented May 22, 2021

These were deprecated in #4341 - it's been four years, its time to say goodbye.

@masterleinad masterleinad merged commit 1dd43d6 into dealii:master May 23, 2021
Copy link
Member

@marcfehling marcfehling left a comment

Choose a reason for hiding this comment

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

The test lac/linear_operator_09 fails after this change. It still uses the old constructor:

PETScWrappers::MPI::SparseMatrix a(
MPI_COMM_WORLD, 4, 4, 4 / np, 4 / np, 1);

I'm not familiar with the PETSc interface so I would be happy if you could take care of this.

@@ -67,8 +70,18 @@ main(int argc, char **argv)
const unsigned int n_mpi_processes = static_cast<unsigned int>(n_jobs);
Assert(n_dofs % n_mpi_processes == 0, ExcInternalError());
const unsigned int n_local_dofs = n_dofs / n_mpi_processes;
Copy link
Member

Choose a reason for hiding this comment

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

You don't use n_local_dofs anywhere in this test. Is that intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

No - that should be removed.

@drwells
Copy link
Member Author

drwells commented May 26, 2021

Thanks for the heads up - I'll put up a followup PR to fix the other tests later.

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

Successfully merging this pull request may close these issues.

None yet

3 participants