ornladios / ADIOS2-Examples

Application examples for the ADIOS2 I/O library https://github.com/ornladios/ADIOS2. This is Work in Progress.
Apache License 2.0
20 stars 16 forks source link

Temporary bug fix in Gray-Scott with Kokkos when running on multiple nodes #82

Closed anagainaru closed 1 year ago

anagainaru commented 1 year ago

The default layout for Kokkos View is LayoutLeft for CUDA backend and RightLayout for CPU. Since the initial code I used was assuming a fixed layout for the sendrecv in MPI the runs were giving wrong data when using multiple MPI processes on CPU.

Fixed for now but we need to figure out an automatic way of adapting to the default layout without forcing one (since we might get bad performance on some architectures)