[petsc-dev] MPI I/O tests failing in master after merging my branch

Matthew Knepley knepley at gmail.com
Thu Mar 22 05:33:39 CDT 2018


On Thu, Mar 22, 2018 at 6:15 AM, Lisandro Dalcin <dalcinl at gmail.com> wrote:

> On 22 March 2018 at 12:51, Matthew Knepley <knepley at gmail.com> wrote:
> > On Thu, Mar 22, 2018 at 3:44 AM, Lisandro Dalcin <dalcinl at gmail.com>
> wrote:
> >>
> >>
> >> ftp://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/
> 2018/03/21/examples_master_arch-linux-cxx-cmplx-pkgs-64idx_churn.log
> >>
> >> The thing is, PETSc does not currently have a way of mapping a plain C
> >> `int` type to a PETSc datatype. I'm wiling to take the required work
> >> to fix this issue.
> >
> >
> > Is this not what PetscMPIInt is for?
> >
>
> No, not at all, PetscMPIInt it not even mentioned in the PetscDatatype
> enumeration. The whole PetscDatatype this is kind of messy, and fixing
> it should take some time, and this for sure will no make my h-index
> explode, right?. For now, mapping MPI_INT -> PETSC_ENUM seems
> workaround the issue just fine.
>

What I meant was, we already have a typedef 'PetscMPIInt' which is supposed
to reproduce MPI_INT, so why not add PETSC_MPI_INT to the PetscDataTypes
rather than map MPI_INT to PetscEnum?

  Thanks,

     Matt


> --
> Lisandro Dalcin
> ============
> Research Scientist
> Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
> Extreme Computing Research Center (ECRC)
> King Abdullah University of Science and Technology (KAUST)
> http://ecrc.kaust.edu.sa/
>
> 4700 King Abdullah University of Science and Technology
> al-Khawarizmi Bldg (Bldg 1), Office # 0109
> Thuwal 23955-6900, Kingdom of Saudi Arabia
> http://www.kaust.edu.sa
>
> Office Phone: +966 12 808-0459
>



-- 
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.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180322/1a091f59/attachment.html>


More information about the petsc-dev mailing list