[petsc-dev] -with-kokkos-cuda-arch=AMPERE80 nonsense

Barry Smith bsmith at petsc.dev
Sat Apr 3 22:42:00 CDT 2021


  It would be very nice to NOT require PETSc users to provide this flag, how the heck will they know what it should be when we cannot automate it ourselves? 

  Any ideas of how this can be determined based on the current system? NVIDIA does not help since these "advertising" names don't seem to trivially map to information you can get from a particular GPU when you logged into it. For example nvidia-smi doesn't use these names directly. Is there some mapping from nvidia-smi  to these names we could use? If we are serious about having a non-trivial number of users utilizing GPUs, which we need to be for future, we cannot have this absurd demands in our installation process. 

  Barry

Does spack have some magic for this we could use?



More information about the petsc-dev mailing list