PETSc 2.23 introduced some incompatibilities in the Fortran bindings with
previous versions of PETSc.
As part of upgrading Fortran code for use with PETSc 2.23 the suffix F90
should be removed from all PETSc Fortran calls; for routines such as
DMDAVecGetArrayF90() no other changes are
Hi, Dear developers,
I am using 3.22.4 and find that
DMDAVecGetArrayF90
should be used in pair with
DMDAVecRestoreArrayF90
And should NOT be used in pair with
DMDAVecRestoreArray
Otherwise, strange memory leakage can be caused.
I know F90-style function has been discarded i
Hi,
what you describe looks a lot like memory corruption. Does your code run
cleanly through valgrind?
Best regards,
Karli
On 07/01/2016 08:33 AM, TAY wee-beng wrote:
Hi,
I had problems with DMDAVecRestoreArrayF90 last time when I used an old
version of Intel Fortran compiler. It works fin
Hi,
I had problems with DMDAVecRestoreArrayF90 last time when I used an old
version of Intel Fortran compiler. It works fine in gfortran and new
version of Intel compiler. It was determined as a bug by the PETSc team.
To use in old version of Intel, I had to use -O1 instead of -O3 -ipo in
su