Question about Sequential & Parallel part
Dear PETSc users, I have a question about structure of programming. My blueprint of Finite Element programming with PETSc solver is below. [image: image.png] The blue box is whole loop for my FE program. There is a loop B that performs a convergence iteration (KU=F) inside the loop A in which the load increment increases. I want to proceed in rank=0 sequentially except for the kspsolve part that solves KU=F. How can I do this?? Best regards, Hyung Kim
On Wed, Oct 19, 2022 at 9:26 AM 김성익 <[email protected]> wrote:
Dear PETSc users,
I have a question about structure of programming.
My blueprint of Finite Element programming with PETSc solver is below. [image: image.png] The blue box is whole loop for my FE program. There is a loop B that performs a convergence iteration (KU=F) inside the loop A in which the load increment increases. I want to proceed in rank=0 sequentially except for the kspsolve part that solves KU=F.
How can I do this??
I think you want this: https://petsc.org/main/docs/manual/ksp/#using-a-mpi-parallel-linear-solver-f... Thanks, Matt
Best regards, Hyung Kim
-- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
participants (2)
-
Matthew Knepley -
김성익