[petsc-dev] [FORGED] Re: PetscSF in Fortran
Jed Brown
jed at jedbrown.org
Mon Oct 23 22:19:23 CDT 2017
Barry Smith <bsmith at mcs.anl.gov> writes:
>> On Oct 23, 2017, at 6:01 PM, Adrian Croucher <a.croucher at auckland.ac.nz> wrote:
>>
>> hi Barry,
>>
>>
>> On 23/10/17 15:04, Barry Smith wrote:
>>> Adrian,
>>>
>>> Sorry for the delay in generating the bindings for you. I have put them in the branch
>>>
>>> barry/fortran-PetscSFBcastBegin
>>>
>>> the example src/vec/sf/examples/tutorials/ex1f.F90 attempts to test them. Please let us know if this works for you and if you need anything else. They will only work for MPIU_INT and MPIU_REAL and MPIU_SCALAR because that is the only Fortran pointer arrays we support currently.
>>
>> Oh, thanks very much for that. I really only need support for integers in my application at present, so what you've done should be fine for now.
>>
>> I checked out your new branch but it is giving a bunch of warnings and errors when I try to make it.
>>
> These warnings should be gone in the latest version of the branch. Do a git pull on that branch.
They're still in that branch.
https://bitbucket.org/petsc/petsc/pull-requests/788/barry-fortran-petscsfbcastbegin/diff#comment-47824568
Looks like you need to cherry-pick this commit.
https://bitbucket.org/petsc/petsc/commits/b4ed0c04e16f3ec8d874c578ace589f6c47e6e50?at=barry/use-mpi-datatype-F90Array
More information about the petsc-dev
mailing list