Re: [petsc-users] VecGetArrayReadF90 and VecRestoreArrayReadF90 not found on link

2025-04-05 Thread Satish Balay
Perhaps: #define XXXF90() XXX() Eventhough it won't give deprecated message to user - it will get the code compiling. [and these routines don't need to go away] Satish On Sun, 23 Mar 2025, Barry Smith wrote: > >With the update for the Fortran binding all the XXXF90 routines have been

[petsc-users] VecGetArrayReadF90 and VecRestoreArrayReadF90 not found on link

2025-03-23 Thread Sanjay Govindjee via petsc-users
Working off the main branch, I am trying to compile a code that uses VecGetArrayReadF90 and VecRestoreArrayReadF90. The subroutines all compile but at link, I am encountering Undefined symbols for architecture x86_64:   "_vecgetarrayreadf90_", referenced from:   _parbmat_ in parbm

Re: [petsc-users] VecGetArrayReadF90 and VecRestoreArrayReadF90 not found on link

2025-03-23 Thread Barry Smith
With the update for the Fortran binding all the XXXF90 routines have been renamed to not include the F90 suffix. Barry I tried to provide deprecated versions but found it was too difficult to keep the old name routines also. > On Mar 23, 2025, at 8:35 PM, Sanjay Govindjee via petsc