[petsc-dev] PetscObjectIsNull()
Barry Smith
bsmith at petsc.dev
Tue Jul 30 21:45:37 CDT 2024
>> just checked out and built the latest PETSc release 3.21.4.
I should have read your previous email more carefully.
All this stuff is in the main git branch, it will not be in release until after September 30.
> On Jul 30, 2024, at 9:27 PM, Adrian Croucher <a.croucher at auckland.ac.nz> wrote:
>
>
> On 31/07/24 1:25 pm, Barry Smith wrote:
>>
>> You need to have
>>
>> #include <petsc/finclude/petscsys.h>
>>
>> in the file above the usage. That is where it is defined.
> I have:
>
> #include <petsc/finclude/petsc.h>
>
> Should that not still work?
>
> - Adrian
>
>>
>> Barry
>>
>>
>>> On Jul 30, 2024, at 8:03 PM, Adrian Croucher <a.croucher at auckland.ac.nz> <mailto:a.croucher at auckland.ac.nz> wrote:
>>>
>>> This Message Is From an External Sender
>>> This message came from outside your organization.
>>> hi
>>>
>>> I just checked out and built the latest PETSc release 3.21.4.
>>>
>>> When I build my code against it, it complains that the
>>> recently-introduced PetscObjectIsNull() doesn't seem to exist any more.
>>> e.g.:
>>>
>>> 3677 | if (.not. PetscObjectIsNull(sf)) then
>>> | 1
>>> Error: Function ‘petscobjectisnull’ at (1) has no IMPLICIT type
>>>
>>> Was this removed again? It still worked when I built against the main
>>> branch up until last week.
>>>
>>> I deleted the build dirs for both PETSc and my code and did completely
>>> clean builds of both, but got the same error.
>>>
>>> - Adrian
>>>
>>> --
>>> Dr Adrian Croucher
>>> Senior Research Fellow
>>> Department of Engineering Science
>>> Waipapa Taumata Rau / University of Auckland, New Zealand
>>> email: a.croucher at auckland.ac.nz <mailto:a.croucher at auckland.ac.nz>
>>> tel: +64 (0)9 923 4611
>>>
>>>
>>
> --
> Dr Adrian Croucher
> Senior Research Fellow
> Department of Engineering Science
> Waipapa Taumata Rau / University of Auckland, New Zealand
> email: a.croucher at auckland.ac.nz <mailto:a.croucher at auckland.ac.nz>
> tel: +64 (0)9 923 4611
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20240730/7dae768d/attachment-0001.html>
More information about the petsc-dev
mailing list