Another issue arising from the tighter type checking. I have fixed the issue in the branch, again I rebased the branch so you cannot just git pull it (sorry). Also you will now need to change PETSC_NULL_OBJECT with PETSC_NULL_MAT for the second
ZjQcmQRYFpfptBannerStart
hi Barry,
On 27/06/24 4:46 am, Barry Smith wrote:
Another issue arising from the tighter type checking. I have fixed the issue in
the branch, again I rebased the branch so you cannot just git pull it (sorry).
Thanks, that has fixed that issue. Now it seems another one is popping
up with Pets
Can you add
PetscCallA(PetscSectionGetValueLayout(PETSC_COMM_WORLD, section, layout, ierr))
to line 276 of src/dm/imps/plex/tests/ex26f90.F90 and see if it runs ok?
Are you initializing layout or doing anything to it before your call to
PetscSectionGetValueLayout()?
> On Jun 26, 2024, at 9
On 27/06/24 2: 30 pm, Barry Smith wrote: > > Can you add > > PetscCallA(PetscSectionGetValueLayout(PETSC_COMM_WORLD, section, > layout, ierr)) > > to line 276 of src/dm/imps/plex/tests/ex26f90. F90 and see if it runs ok?
ZjQcmQRYFpfptBannerStart
This Message Is From a
PS, I also just tried adding that line to src/dm/imps/plex/tests/ex26f90. F90 using an earlier version of PETSc (before the Fortran interface changes) and that did run ok. - Adrian -- Dr Adrian Croucher Senior Research Fellow Department of Engineering
ZjQcmQRYFpfptBannerStart
I determined the problem. I had not updated PetscLayout to type(tPetscLayout) so its initial value was indeterminate thus causing the problem. I rebased the branch, so you must delete it and check it out again. Sorry I also permanently added
ZjQcmQRYFpfptBannerStart
Thi
Thanks very much Barry, that seems to have fixed it. My code runs again now. - Adrian On 27/06/24 3: 20 pm, Barry Smith wrote: > > I determined the problem. I had not updated PetscLayout to type(tPetscLayout) so its initial value was indeterminate
ZjQcmQRYFpfptBannerStart
Great, thanks for your patience and for testing out the new "improved" Fortran interfaces. > On Jun 26, 2024, at 11: 44 PM, Adrian Croucher wrote: > > Thanks very much Barry, that seems to have fixed
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender