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

PetscLinearSolver partitioned mpi support #46

Conversation

amartinhuertas
Copy link
Member

This PR can be reviewed straight away, i.e., before PR #42.

@fverdugo ... note also the commit description. I could use GridapPETSc.with within the main function triggered twice from prun within the same MPI context, so that I did not actually need to explicitly call gridap_petsc_gc() at the end of main. (it is being called from PETScFinalize()). I am not sure ... what do we have to solve here among the interplay of prun and GridapPetsc.with(...)? (you mentioned something in Slack).

* Added Poisson tests to test PETScLinearSolver in MPI mode. In this test,
  the "main" function, i.e., the one triggered from PArrays.prun, calls
  GridapPETSc.with(...). I am calling prun() twice within the same MPI
  context, and it did not give me any trouble.
@amartinhuertas amartinhuertas changed the base branch from master to partitioned_arrays_support October 30, 2021 06:01
@codecov-commenter
Copy link

codecov-commenter commented Oct 30, 2021

Codecov Report

Merging #46 (725c842) into partitioned_arrays_support (2620049) will increase coverage by 0.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@                      Coverage Diff                       @@
##           partitioned_arrays_support      #46      +/-   ##
==============================================================
+ Coverage                       87.80%   87.88%   +0.08%     
==============================================================
  Files                               9        9              
  Lines                             738      743       +5     
==============================================================
+ Hits                              648      653       +5     
  Misses                             90       90              
Impacted Files Coverage Δ
src/PETScLinearSolvers.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2620049...725c842. Read the comment docs.

@amartinhuertas amartinhuertas mentioned this pull request Nov 1, 2021
6 tasks
@fverdugo fverdugo merged commit 3ba0de4 into partitioned_arrays_support Nov 5, 2021
@fverdugo fverdugo deleted the petsc_ksp_partitioned_simulations_mpi_mode_support branch November 5, 2021 14:29
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.

3 participants