Re: [petsc-users] Problem running geoclaw example with petsc 3.22

2024-10-25 Thread Praveen C
I get this $ mpiexec -n 3 ./ex89f -n 20 -mpi_linear_solver_server -mpi_linear_solver_server -mpi_linear_solver_server_ksp_view -ksp_monitor -ksp_converged_reason -ksp_view -mpi_linear_solver_server_minimum_count_per_rank 5 [0]PETSC ERROR: -

Re: [petsc-users] Problem running geoclaw example with petsc 3.22

2024-10-25 Thread Barry Smith
Ok, super strange, I've run many times on my Mac Can you please try to remove that allocated memory with ipcrm and then cd $PETSC_DIR/src/ksp/ksp/tutorials make ex89f mpiexec -n 3 ./ex89f -n 20 -mpi_linear_solver_server -mpi_linear_solver_server -mpi_linear_solver_server_ksp_vie

Re: [petsc-users] Problem running geoclaw example with petsc 3.22

2024-10-24 Thread Barry Smith
Good, some helpful information with the runs you made. In the crash below it made more progress it was able to allocate multiple regions of shared memory and access them. I don't know why it would crash later. Can you tell me all the steps with miniforge (which seems to be related to

Re: [petsc-users] Problem running geoclaw example with petsc 3.22

2024-10-23 Thread Praveen C
I get very similar error on my mac with $ gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/opt/homebrew/Caskroom/miniforge/base/envs/claw/libexec/gcc/arm64-apple-darwin20.0.0/13.2.0/lto-wrapper Target: arm64-apple-darwin20.0.0 Configured with: ../configure --prefix=/opt

Re: [petsc-users] Problem running geoclaw example with petsc 3.22

2024-10-23 Thread Barry Smith
Hmm, so it is creating the first shared memory region with ID of 10 (A in hex) puts it in a linked list in PETSc but then when it tries to find it in the linked list it cannot find it. I don't know how to reproduce this or debug it remotely. Can you build on a completely different m

Re: [petsc-users] Problem running geoclaw example with petsc 3.22

2024-10-23 Thread Praveen C
I get same error and now it shows $ ipcs -m -- Shared Memory Segments keyshmid owner perms bytes nattch status 0x000a 32788 praveen6662406 Note that the code seems to be still running after printing those error mes

Re: [petsc-users] Problem running geoclaw example with petsc 3.22

2024-10-23 Thread Barry Smith
Try ipcrm -m 11 ipcs -m Try running the program again If failed check ipcs -m again > On Oct 23, 2024, at 10:20 AM, Praveen C wrote: > > Hello Barry > > I see this > > $ ipcs -m > > -- Shared Memory Segments > keyshmid owner perms bytes n

Re: [petsc-users] Problem running geoclaw example with petsc 3.22

2024-10-23 Thread Praveen C
Hello Barry I see this $ ipcs -m -- Shared Memory Segments keyshmid owner perms bytes nattch status 0x000a 11 praveen6662406 and I am observing same error as below. Thanks praveen > On 23 Oct 2024, at 7:08 PM

Re: [petsc-users] Problem running geoclaw example with petsc 3.22

2024-10-23 Thread Barry Smith
Please take a look at the notes in https://urldefense.us/v3/__https://petsc.org/release/manualpages/Sys/PetscShmgetAllocateArray/__;!!G_uCfscf7eWS!fTBuqCCGHRprXT35JlP-Fm7YsLqOM33bEFcdtlsJEH1q0worVtAiE6xo-LviQiuClRi9lhg4z48P1hVdAp7sD5E$ For some reason your program is not able to access/use t

[petsc-users] Problem running geoclaw example with petsc 3.22

2024-10-23 Thread Praveen C
Dear all I am not able to run the boussinesq example from geoclaw using petsc@3.22.0 https://urldefense.us/v3/__https://github.com/clawpack/geoclaw/tree/3303883f46572c58130d161986b8a87a57ca7816/examples/bouss__;!!G_uCfscf7eWS!Z8LSV15aCfI8foq0rASSCLydMRS0fpl-nlhu4Y9dStP4hL2ldhlvXBICnvs5reaLfjg4po-