[petsc-dev] Anyone know why https://gitlab.com/petsc/petsc/-/jobs/893738386 failed?

Satish Balay balay at mcs.anl.gov
Mon Dec 7 10:21:26 CST 2020


src/mat/impls/aij/mpi/kokkos/makefile has:
#requirespackage 'PETSC_HAVE_KOKKOS_KERNELS'

And include/petscmat.h has:

#ifdef PETSC_HAVE_KOKKOS
PETSC_EXTERN PetscErrorCode MatKokkosGetDeviceMatWrite(Mat,PetscSplitCSRDataStructure**);
PETSC_EXTERN PetscErrorCode SeqAIJKokkosSetDeviceMat(Mat, PetscSplitCSRDataStructure *);
PETSC_EXTERN PetscErrorCode SeqAIJKokkosGetDeviceMat(Mat, PetscSplitCSRDataStructure **);
#endif

So the code is inconsistent with 'linux-intel' which has --with-kokkos=1 --with-kokkos-kernels=0

So you'll have to refactor this functionality into appropriate code blocks. (kokkos vs kokkos-kernels)

Satish

On Mon, 7 Dec 2020, Mark Adams wrote:

> /scratch/svcpetsc/glci-builds/pUCfcdTM/1/petsc/petsc/arch-ci-linux-intel/lib/libpetsc.so:
> undefined reference to `MatKokkosGetDeviceMatWrite'
> 3439 <https://gitlab.com/petsc/petsc/-/jobs/893738386#L3439>make[2]: ***
> [arch-ci-linux-intel/tests/sys/tests/ex20] Error 1
> 
> 
> MatKokkosGetDeviceMatWrite is in mpiaijkok.kokkos.cxx. Many of these small
> sys test fail with this message.
> 
> Any ideas?
> Thanks,
> Mark
> 



More information about the petsc-dev mailing list