[petsc-dev] p4est w/o MPI

Mark Adams mfadams at lbl.gov
Fri Apr 16 09:52:16 CDT 2021


Should I just add -DPETSC_HAVE_MPIUNI and the add (as needed):

#if defined(PETSC_HAVE_MPIUNI)
#  include <petsc/mpiuni/mpi.h>
#else
#  include <mpi.h>
#endif

On Fri, Apr 16, 2021 at 10:26 AM Matthew Knepley <knepley at gmail.com> wrote:

> You would have to
>
> 1) Modify p4est to use mpiuni.h
>
> 2) Fix MPIUNI until p4est works with it
>
> 3) Fixup the p4est modification to be done in configure
>
>   Matt
>
> On Fri, Apr 16, 2021 at 10:23 AM Mark Adams <mfadams at lbl.gov> wrote:
>
>> I don't have MPI (Fugaku w/ gcc) and p4est seems to need it. Is there a
>> work around?
>> Thanks,
>> Mark
>>
>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> -- Norbert Wiener
>
> https://www.cse.buffalo.edu/~knepley/
> <http://www.cse.buffalo.edu/~knepley/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20210416/995e6ba4/attachment.html>


More information about the petsc-dev mailing list