Re: [petsc-users] Problem with MatMPIAIJSetPreallocation

2024-11-26 Thread Matthew Thomas via petsc-users
Hello, I found a type elsewhere in my code and have fixed this issue. Thanks, Matt On 27 Nov 2024, at 12:06 PM, Matthew Thomas wrote: Hello, When I use MatMPIAIJSetPreallocation I get an argument out of range error, as below, [15]PETSC ERROR: Argument out of range [15]PETSC ERROR: New non

[petsc-users] Problem with MatMPIAIJSetPreallocation

2024-11-26 Thread Matthew Thomas via petsc-users
Hello, When I use MatMPIAIJSetPreallocation I get an argument out of range error, as below, [15]PETSC ERROR: Argument out of range [15]PETSC ERROR: New nonzero at (8,421) caused a malloc. Use MatSetOption(A, MAT_NEW_NONZERO_ALLOCATION_ERR, PETSC_FALSE) to turn off this check However, wh

Re: [petsc-users] Memory usage scaling with number of processors

2024-07-24 Thread Matthew Thomas via petsc-users
rtitioning? Thanks, Matt On Mon, Jul 22, 2024 at 10:27 PM Barry Smith mailto:bsm...@petsc.dev>> wrote: This Message Is From an External Sender This message came from outside your organization. Send the code. On Jul 22, 2024, at 9:18 PM, Matthew Thomas via petsc-users mailto:pe

Re: [petsc-users] Memory usage scaling with number of processors

2024-07-23 Thread Matthew Thomas via petsc-users
matrix, and what partitioning? Thanks, Matt On Mon, Jul 22, 2024 at 10:27 PM Barry Smith mailto:bsm...@petsc.dev>> wrote: This Message Is From an External Sender This message came from outside your organization. Send the code. On Jul 22, 2024, at 9:18 PM, Matthew Thomas via pe

Re: [petsc-users] Memory usage scaling with number of processors

2024-07-23 Thread Matthew Thomas via petsc-users
IHg2fKA_BxEjauQeZ6ruAn1r5JEXpc_tlsogKCv_Xc$ > Send the code. On Jul 22, 2024, at 9:18 PM, Matthew Thomas via petsc-users wrote: This Message Is From an External Sender This message came from outside your organization. Hello, I am using petsc and slepc to solve an eigenvalue problem for spa

[petsc-users] Memory usage scaling with number of processors

2024-07-22 Thread Matthew Thomas via petsc-users
Hello, I am using petsc and slepc to solve an eigenvalue problem for sparse matrices. When I run my code with double the number of processors, the memory usage also doubles. I am able to reproduce this behaviour with ex1 of slepc’s hands on ZjQcmQRYFpfptBannerStart This