Stan Moore
Stan Moore
@rgayatri23 Any update on this PR? We could really use this in LAMMPS.
`sincos`--needed a wrapper for SYCL
We don't currently need `sincos`--it was in SNAP for a while but it got removed in the latest version
I think we need to support `cuda/11.0.3` on Summit since newer CUDA versions are broken with SpectrumMPI CUDA-aware.
i.e. `cuda/11.1` and above are broken for CUDA-aware MPI on Summit
Correction, I just tried and`cuda/11.1.1` works for CUDA-aware MPI, but anything higher on Summit, e.g. `cuda/11.3.1` and above are broken. This is a known issue with OLCF, but no idea...
Also related: https://github.com/kokkos/kokkos/issues/4126
I support this change--I had to add logic in LAMMPS to work around the lack of `Kokkos::is_finalized()`, see https://github.com/lammps/lammps/blob/develop/src/KOKKOS/kokkos.cpp#L337-L353, would be nice to simplify the user code.
I like Option 2 as well.
@ocaisa sorry for the delay. We do have some runtime detection in `kokkos.cpp`, for example: https://github.com/lammps/lammps/blob/develop/src/KOKKOS/kokkos.cpp#L301-L303 Are you saying we should add `MPIX_Query_cuda_support()` to this part of the code?