I'm giving up on PGI but can try newer versions of GCC. (what is the deal with the range of major releases, 4-10?)
(as I said this looks like an error that a user is getting so I'd like to figure it out).
0 SNES Function norm 4.974994975313e-03
==77820== Invalid read of size 4
==77820== at 0x7E69068: LandauKokkosJacobian (in /gpfs/alpine/csc314/scratch/adams/petsc/arch-summit-opt-gnu-kokkos-notpl-cuda10/lib/libpetsc.so.3.015.0)
==77820== by 0x7C598AF: LandauFormJacobian_Internal (plexland.c:212)
==77820== by 0x7C728D3: LandauIJacobian (plexland.c:2107)
==77820== by 0x7C8C26B: TSComputeIJacobian (ts.c:934)
==77820== by 0x7E28337: SNESTSFormJacobian_Theta (theta.c:1007)
==77820== by 0x7CBBFD3: SNESTSFormJacobian (ts.c:4415)
==77820== by 0x7AD84BF: SNESComputeJacobian (snes.c:2824)
==77820== by 0x7BA945B: SNESSolve_NEWTONLS (ls.c:222)
==77820== by 0x7AF336F: SNESSolve (snes.c:4769)
==77820== by 0x7E19D13: TSTheta_SNESSolve (theta.c:185)
==77820== by 0x7E1A8B7: TSStep_Theta (theta.c:223)
==77820== by 0x7CB093F: TSStep (ts.c:3571)
==77820== Address 0x96fff690 is in a --- anonymous segment
==77820==
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see
https://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[0]PETSC ERROR: or try
http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
[0]PETSC ERROR: likely location of problem given in stack below
[0]PETSC ERROR: --------------------- Stack Frames ------------------------------------
[0]PETSC ERROR: The EXACT line numbers in the error traceback are not available.
[0]PETSC ERROR: instead the line number of the start of the function is given.
[0]PETSC ERROR: #1 LandauKokkosJacobian() at /gpfs/alpine/csc314/scratch/adams/petsc/src/ts/utils/dmplexlandau/kokkos/landau.kokkos.cxx:272