Re: [petsc-users] Neumann Boundary Condition with DMDACreate3D

2024-01-09 Thread Gourav Kumbhojkar
Thank you very much for the fix. I’ll also update here as soon as I test it on my application code. Many thanks. Gourav From: Barry Smith Date: Tuesday, January 9, 2024 at 8:59 PM To: Gourav Kumbhojkar Cc: petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Neumann Boundary Condition with DMDA

Re: [petsc-users] Neumann Boundary Condition with DMDACreate3D

2024-01-09 Thread Barry Smith
Sorry for the delay. The fix is in the git branch barry/2024-01-09/fix-mirror-dmda-3d/release see also https://gitlab.com/petsc/petsc/-/merge_requests/7175 Barry > On Jan 8, 2024, at 3:44 PM, Gourav Kumbhojkar > wrote: > > You are right. Attaching the code that I’m using to test t

[petsc-users] Solving reduced system of equations with global preconditioner

2024-01-09 Thread johnny via petsc-users
Dear Mr. Johnny, I trust this email finds you in good health. I am writing to provide information on the efficient resolution of reduced systems of equations through the incorporation of a global preconditioner. To optimize the convergence of iterative solvers, consider the utilization of a gl

[petsc-users] Solving reduced system of equations with global preconditioner

2024-01-09 Thread johnny via petsc-users
Hi Mike, I hope this message finds you well. I wanted to reach out regarding the topic of solving reduced systems of equations with a global preconditioner. This approach proves to be highly effective in improving the efficiency of numerical methods for solving complex systems. To delve into t

Re: [petsc-users] M2 macs

2024-01-09 Thread Samar Khatiwala
Hi Sanjay, I’ve done this with ifort on my M2 MacBook Air and reported on my experience in this list some months ago. I attach the message below. Samar Begin forwarded message: From: Samar Khatiwala Subject: Re: [petsc-users] PETSc build asks for network connections Date: April 28, 2023 at 5:

Re: [petsc-users] M2 macs

2024-01-09 Thread Satish Balay via petsc-users
The usual xcode/clang + brew/gfortran should work. https://gitlab.com/petsc/petsc/-/jobs/5895519334 https://gitlab.com/petsc/petsc/-/jobs/5895519414 There can be issues - not all CI builds work in M2 - with latest xcode [when I tried this previously] - so some CI jobs are still on Intel/Mac [wit

[petsc-users] M2 macs

2024-01-09 Thread Sanjay Govindjee via petsc-users
I was wondering if anyone has build experience with PETSc + FORTRAN on an M2-based MAC?  In particular, I am looking for compiler recommendations. -sanjay

Re: [petsc-users] SNES seems not use my matrix-free operation

2024-01-09 Thread Barry Smith
> However, my GK_op (which is the reloaded MATOP_MULT) gives me some problem. > It is entered but then crashed with Segmentation Violation error. So I guess > my indices may be wrong. I wonder do I need to use the local Vec (of dF), and > should my output Vec also be in the correct shape (i.e. a