Re: [petsc-users] Does mpiaijkok intend to support 64-bit integers?
Thanks, Mark, PETSc-main has no issue. Fande On Thu, Jan 20, 2022 at 9:14 AM Fande Kong wrote: > > > On Thu, Jan 20, 2022 at 6:49 AM Mark Adams 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 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_-6_mpiaijkok.kokkos.cpp1.ii". >>> >>> gmake[3]: *** >>> [arch-linux-c-opt/obj/mat/impls/aij/mpi/kokkos/mpiaijkok.o] Error 1 >>> >>
Re: [petsc-users] Does mpiaijkok intend to support 64-bit integers?
On Thu, Jan 20, 2022 at 6:49 AM Mark Adams 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 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_-6_mpiaijkok.kokkos.cpp1.ii". >> >> gmake[3]: *** [arch-linux-c-opt/obj/mat/impls/aij/mpi/kokkos/mpiaijkok.o] >> Error 1 >> >
Re: [petsc-users] Does mpiaijkok intend to support 64-bit integers?
Humm, I was not able to reproduce this on my Mac. Trying Crusher now. Are you using main? or even a recent release. We did fix a 64 bit int bug recently in mpiaijkok. Thanks, Mark On Thu, Jan 20, 2022 at 12:12 AM Fande Kong 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_-6_mpiaijkok.kokkos.cpp1.ii". > > gmake[3]: *** [arch-linux-c-opt/obj/mat/impls/aij/mpi/kokkos/mpiaijkok.o] > Error 1 >
[petsc-users] Does mpiaijkok intend to support 64-bit integers?
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_-6_mpiaijkok.kokkos.cpp1.ii". gmake[3]: *** [arch-linux-c-opt/obj/mat/impls/aij/mpi/kokkos/mpiaijkok.o] Error 1