[petsc-users] ISGetTotalIndices with Fortran

Constantin Nguyen Van constantin.nguyen.van at openmailbox.org
Thu Jun 30 08:43:37 CDT 2016


Hi again,

I've noticed that the same error occurs with the subroutine 
MatGetRedundantMatrix.
Is that possible to add the Fortran interface too?

Thank you.
Constantin.

Le 2016-06-28 16:51, Constantin Nguyen Van a écrit :
> Alright!
> Thank you.
> 
> Constantin.
> 
> Le 2016-06-28 04:54, Barry Smith a écrit :
>> I have added these fortran interfaces in the branch
>> barry/add-missing-apis/maint and merged into the next branch for
>> testing. When it passes the tests I will merge it into maint and it
>> will then be available in the next patch release.
>> 
>>    Barry
>> 
>>> On Jun 27, 2016, at 7:50 AM, Constantin Nguyen Van 
>>> <constantin.nguyen.van at openmailbox.org> wrote:
>>> 
>>> Hi,
>>> 
>>> I'm tring to use ISGetTotalIndices in a Fortran program but I've got 
>>> an undefined reference error message when I compile it :"undefined 
>>> reference to `isgettotalindices_'".
>>> I've also tried to replace IsGetIndices by ISGetTotalIndices and also 
>>> ISGetNonlocalIndices in this example 
>>> http://www.mcs.anl.gov/petsc/petsc-current/src/vec/is/is/examples/tutorials/ex1f.F.html 
>>> but the same error occurs.
>>> The "nm /lib/libpetsc.so |grep ISGetTotal" command returns 
>>> "000000000031a7ab T ISGetTotalIndices" so that the symbol is there 
>>> and nothing seems to be missing.
>>> 
>>> Are those routines available in Fortran?
>>> 
>>> Thank you.
>>> Constantin.
>>> 
>>> 


More information about the petsc-users mailing list