Re: [petsc-users] [petsc-maint] DMSwarm on multiple processors

2023-12-20 Thread Matthew Knepley
On Wed, Dec 20, 2023 at 4:12 AM Joauma Marichal < joauma.maric...@uclouvain.be> wrote: > Hello, > > > > I used Address Sanitizer on my laptop and I have no leaks. > > I do have access to another machine (managed by the same people as the > previous one) but I obtain similar errors… > Let me

Re: [petsc-users] [petsc-maint] DMSwarm on multiple processors

2023-12-19 Thread Matthew Knepley
On Tue, Dec 19, 2023 at 5:11 AM Joauma Marichal < joauma.maric...@uclouvain.be> wrote: > Hello, > > > > I have used Address Sanitizer to check any memory errors. On my computer, > no errors are found. Unfortunately, on the supercomputer that I am using, I > get lots of errors… I attach my log

Re: [petsc-users] [petsc-maint] DMSwarm on multiple processors

2023-12-18 Thread Matthew Knepley
On Mon, Dec 18, 2023 at 5:09 AM Joauma Marichal < joauma.maric...@uclouvain.be> wrote: > Hello, > > > > Sorry for the delay. I attach the file that I obtain when running the code > with the debug mode. > Okay, we can now see where this is happening: malloc_consolidate(): invalid chunk size

Re: [petsc-users] [petsc-maint] DMSwarm on multiple processors

2023-12-18 Thread Joauma Marichal via petsc-users
Hello, Sorry for the delay. I attach the file that I obtain when running the code with the debug mode. Thanks for your help. Best regards, Joauma De : Matthew Knepley Date : jeudi, 23 novembre 2023 à 15:32 À : Joauma Marichal Cc : petsc-ma...@mcs.anl.gov , petsc-users@mcs.anl.gov Objet :

Re: [petsc-users] [petsc-maint] DMSwarm on multiple processors

2023-11-23 Thread Matthew Knepley
On Thu, Nov 23, 2023 at 9:01 AM Joauma Marichal < joauma.maric...@uclouvain.be> wrote: > Hello, > > > > My problem persists… Is there anything I could try? > Yes. It appears to be failing from a call inside PetscSFSetUpRanks(). It does allocation, and the failure is in libc, and it only happens

Re: [petsc-users] [petsc-maint] DMSwarm on multiple processors

2023-11-23 Thread Joauma Marichal via petsc-users
Hello, My problem persists… Is there anything I could try? Thanks a lot. Best regards, Joauma De : Matthew Knepley Date : mercredi, 25 octobre 2023 à 14:45 À : Joauma Marichal Cc : petsc-ma...@mcs.anl.gov , petsc-users@mcs.anl.gov Objet : Re: [petsc-maint] DMSwarm on multiple processors

Re: [petsc-users] [petsc-maint] DMSwarm on multiple processors

2023-10-26 Thread Matthew Knepley
Okay, there were a few problems: 1) You overwrote the bounds on string loc_grid_gen[] 2) You destroyed the coordinate DA I fixed these and it runs for me fine on several processes. I am including my revised source since I check a lot more error values. I converted it to C because that is easier

Re: [petsc-users] [petsc-maint] DMSwarm on multiple processors

2023-10-26 Thread Barry Smith
Please run with -malloc_debug option or even better run under Valgrind https://petsc.org/release/faq/ > On Oct 26, 2023, at 10:35 AM, Joauma Marichal via petsc-users > wrote: > > Hello, > > Here is a very simple version where I have issues. > > Which I run as follows: > > cd

Re: [petsc-users] [petsc-maint] DMSwarm on multiple processors

2023-10-26 Thread Joauma Marichal via petsc-users
Hello, Here is a very simple version where I have issues. Which I run as follows: cd Grid_generation make clean make all ./grid_generation cd .. make clean make all ./cobpor # on 1 proc # OR mpiexec ./cobpor -ksp_type cg -pc_type pfmg -dm_mat_type hyprestruct -pc_pfmg_skip_relax

Re: [petsc-users] [petsc-maint] DMSwarm on multiple processors

2023-10-25 Thread Matthew Knepley
On Wed, Oct 25, 2023 at 8:32 AM Joauma Marichal via petsc-maint < petsc-ma...@mcs.anl.gov> wrote: > Hello, > > > > I am using the DMSwarm library in some Eulerian-Lagrangian approach to > have vapor bubbles in water. > > I have obtained nice results recently and wanted to perform bigger >