[petsc-users] Does mpiaijkok intend to support 64-bit integers?
Fande Kong
fdkong.jd at gmail.com
Thu Jan 20 13:21:09 CST 2022
Thanks, Mark,
PETSc-main has no issue.
Fande
On Thu, Jan 20, 2022 at 9:14 AM Fande Kong <fdkong.jd at gmail.com> wrote:
>
>
> On Thu, Jan 20, 2022 at 6:49 AM Mark Adams <mfadams at lbl.gov> wrote:
>
>> Humm, I was not able to reproduce this on my Mac. Trying Crusher now.
>> Are you using main? or even a recent release.
>>
>
> I am working with PETSc-3.16.1
>
> I will try main now
>
> Thanks,
> Fande
>
>
>
>> We did fix a 64 bit int bug recently in mpiaijkok.
>>
>> Thanks,
>> Mark
>>
>> On Thu, Jan 20, 2022 at 12:12 AM Fande Kong <fdkong.jd at gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> It seems that mpiaijkok does not support 64-bit integers at this time.
>>> Do we have any motivation for this? Or Is it just a bug?
>>>
>>> Thanks,
>>>
>>> Fande
>>>
>>> petsc/src/mat/impls/aij/mpi/kokkos/mpiaijkok.kokkos.cxx(306): error: a
>>> value of type "MatColumnIndexType *" cannot be assigned to an entity of
>>> type "int *"
>>>
>>>
>>> petsc/src/mat/impls/aij/mpi/kokkos/mpiaijkok.kokkos.cxx(308): error: a
>>> value of type "PetscInt *" cannot be assigned to an entity of type "int *"
>>>
>>>
>>> petsc/src/mat/impls/aij/mpi/kokkos/mpiaijkok.kokkos.cxx(310): error: a
>>> value of type "PetscInt *" cannot be assigned to an entity of type "int *"
>>>
>>>
>>> petsc/src/mat/impls/aij/mpi/kokkos/mpiaijkok.kokkos.cxx(316): error: a
>>> value of type "MatColumnIndexType *" cannot be assigned to an entity of
>>> type "int *"
>>>
>>>
>>> petsc/src/mat/impls/aij/mpi/kokkos/mpiaijkok.kokkos.cxx(329): error: a
>>> value of type "PetscInt *" cannot be assigned to an entity of type "int *"
>>>
>>>
>>> petsc/src/mat/impls/aij/mpi/kokkos/mpiaijkok.kokkos.cxx(331): error: a
>>> value of type "PetscInt *" cannot be assigned to an entity of type "int *"
>>>
>>>
>>> 6 errors detected in the compilation of
>>> "/tmp/tmpxft_00017e46_00000000-6_mpiaijkok.kokkos.cpp1.ii".
>>>
>>> gmake[3]: ***
>>> [arch-linux-c-opt/obj/mat/impls/aij/mpi/kokkos/mpiaijkok.o] Error 1
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220120/d4b88c3e/attachment.html>
More information about the petsc-users
mailing list