From: Satish Balay ba...@mcs.anl.gov
Sent: Thursday, April 30, 2015 9:54 PM
To: Klaij, Christiaan
Cc: petsc-users
Subject: Re: [petsc-users] PETSC_NULL_OBJECT gets corrupt after call to
MatNestGetISs in fortran
Hm - it works for me with the test code you sent..
petsc-3.5.3 before
, Christiaan
Cc: petsc-users
Subject: Re: [petsc-users] PETSC_NULL_OBJECT gets corrupt after call to
MatNestGetISs in fortran
Hm - it works for me with the test code you sent..
petsc-3.5.3 before patch
balay@asterix /home/balay/download-pine/x
$ ./ex1f
0
40357424
: Friday, April 24, 2015 10:54 PM
To: Klaij, Christiaan
Cc: petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] PETSC_NULL_OBJECT gets corrupt after call to
MatNestGetISs in fortran
Sorry for dropping the ball on this issue. I pushed the following fix to maint
branch.
https://bitbucket.org/petsc
below...
Chris
From: Satish Balay ba...@mcs.anl.gov
Sent: Friday, April 24, 2015 10:54 PM
To: Klaij, Christiaan
Cc: petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] PETSC_NULL_OBJECT gets corrupt after call to
MatNestGetISs in fortran
Sorry
Barry, Satish
Any news on this issue?
Chris
On Feb 12, 2015, at 07:13:08 CST, Smith, Barry bsm...@mcs.anl.gov wrote:
Thanks for reporting this. Currently the Fortran stub for this function is
generated automatically which means it does not have the logic for handling a
Sorry for dropping the ball on this issue. I pushed the following fix to maint
branch.
https://bitbucket.org/petsc/petsc/commits/3a4d7b9a6c83003720b45dc0635fc32ea52a4309
To use this change with petsc-3.5.3 - you can drop in the attached replacement
files at:
Thanks for reporting this. Currently the Fortran stub for this function is
generated automatically which means it does not have the logic for handling a
PETSC_NULL_OBJECT argument.
Satish, could you please see if you can add a custom fortran stub for this
function in maint?
Thanks
Using petsc-3.5.3, I noticed that PETSC_NULL_OBJECT gets corrupt after calling
MatNestGetISs in fortran. Here's a small example:
$ cat fieldsplittry2.F90
program fieldsplittry2
use petscksp
implicit none
#include finclude/petsckspdef.h
PetscErrorCode :: ierr
PetscInt ::