Re: [petsc-users] Problem with MPI, MatAXPY and SAME_NONZERO_PATTERN

2015-04-07 Thread Klaus Kaiser
Hallo Metthew, you were albe to reconstruct this problem on your petsc installation? Best Klaus On 03/30/2015 01:43 PM, Matthew Knepley wrote: On Mon, Mar 30, 2015 at 5:18 AM, Klaus Kaiser mailto:kai...@igpm.rwth-aachen.de>> wrote: Hallo Metthew, at the weekend I updated pe

Re: [petsc-users] Problem with MPI, MatAXPY and SAME_NONZERO_PATTERN

2015-03-30 Thread Klaus Kaiser
Hi Barry, I updated to the newest version but the behavior stays the same. Best Klaus On 03/27/2015 06:32 PM, Barry Smith wrote: On Mar 27, 2015, at 11:14 AM, Klaus Kaiser wrote: Hallo Barry, I think you're right, but this is the setup I used for more than a year, so I first wa

Re: [petsc-users] Problem with MPI, MatAXPY and SAME_NONZERO_PATTERN

2015-03-30 Thread Klaus Kaiser
Hallo Metthew, at the weekend I updated petsc to the newest release version 3.5.2 and I still got this strange behavior. Best Klaus On 03/27/2015 05:07 PM, Klaus Kaiser wrote: Hallo Matthew, here is a short example I used for 8 cores: int d_nnz[3]; int o_nnz[3]; d_nnz[0] = 3

Re: [petsc-users] Problem with MPI, MatAXPY and SAME_NONZERO_PATTERN

2015-03-27 Thread Klaus Kaiser
flag. Plus it is much easier for us to support the newest version. Barry On Mar 27, 2015, at 9:48 AM, Klaus Kaiser wrote: Hallo, I have a strange behavior in my code concerning the function MatAXPY. I create 3 different Matrices ierr = MatCreateBAIJ(PETSC_COMM_WORLD, block_size, local

Re: [petsc-users] Problem with MPI, MatAXPY and SAME_NONZERO_PATTERN

2015-03-27 Thread Klaus Kaiser
ou a lot Klaus On 03/27/2015 04:26 PM, Matthew Knepley wrote: On Fri, Mar 27, 2015 at 10:16 AM, Klaus Kaiser mailto:kai...@igpm.rwth-aachen.de>> wrote: Hallo Matthew, thanks for your fast response. With "no beside the nonzero structure" I meant, that I do not crea

Re: [petsc-users] Problem with MPI, MatAXPY and SAME_NONZERO_PATTERN

2015-03-27 Thread Klaus Kaiser
On 03/27/2015 03:59 PM, Matthew Knepley wrote: On Fri, Mar 27, 2015 at 9:48 AM, Klaus Kaiser mailto:kai...@igpm.rwth-aachen.de>> wrote: Hallo, I have a strange behavior in my code concerning the function MatAXPY. I create 3 different Matrices ierr = MatCreate

[petsc-users] Problem with MPI, MatAXPY and SAME_NONZERO_PATTERN

2015-03-27 Thread Klaus Kaiser
Hallo, I have a strange behavior in my code concerning the function MatAXPY. I create 3 different Matrices ierr = MatCreateBAIJ(PETSC_COMM_WORLD, block_size, local_size, local_size, system_size, system_size, 0, d_nnz, 0, o_nnz,&A); ierr = MatSetOption(A,MAT_NEW_NONZERO_ALLOCATION_ERR