Re: [petsc-users] PETSC_NULL_OBJECT gets corrupt after call to MatNestGetISs in fortran

2015-05-01 Thread Satish Balay
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

Re: [petsc-users] PETSC_NULL_OBJECT gets corrupt after call to MatNestGetISs in fortran

2015-05-01 Thread Klaij, Christiaan
, 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

Re: [petsc-users] PETSC_NULL_OBJECT gets corrupt after call to MatNestGetISs in fortran

2015-04-30 Thread Klaij, Christiaan
: 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

Re: [petsc-users] PETSC_NULL_OBJECT gets corrupt after call to MatNestGetISs in fortran

2015-04-30 Thread Satish Balay
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

Re: [petsc-users] PETSC_NULL_OBJECT gets corrupt after call to MatNestGetISs in fortran

2015-04-24 Thread Klaij, Christiaan
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

Re: [petsc-users] PETSC_NULL_OBJECT gets corrupt after call to MatNestGetISs in fortran

2015-04-24 Thread Satish Balay
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:

Re: [petsc-users] PETSC_NULL_OBJECT gets corrupt after call to MatNestGetISs in fortran

2015-02-12 Thread Barry Smith
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

[petsc-users] PETSC_NULL_OBJECT gets corrupt after call to MatNestGetISs in fortran

2015-02-12 Thread Klaij, Christiaan
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 ::