Re: [petsc-users] Error MPI_ABORT

2024-07-27 Thread Junchao Zhang
The error message is a little confusing. It says the indices should be in [0, 200), but you used an out of range index 200 in VecSetValues. --Junchao Zhang On Fri, Jul 26, 2024 at 10:24 PM Ivan Luthfi wrote: > Hi friend, I am trying to try my second Petsc exercise in a lecture from > Eijkhout

[petsc-users] Error MPI_ABORT

2024-07-26 Thread Ivan Luthfi
Hi friend, I am trying to try my second Petsc exercise in a lecture from Eijkhout. I run it using command: mpiexec -n 2 ./vec_view in my Macbook with 2 cores. but I got an error. Here is the error message: [1]PETSC ERROR: - Error Message --