kokkos / kokkos-tutorials

Tutorials for the Kokkos C++ Performance Portability Programming Ecosystem
Other
286 stars 96 forks source link

Bugfix and modernize tutorials #69

Closed DSMishler closed 1 year ago

DSMishler commented 1 year ago

First off, there is a bug on line 186 of the mpi heat conduction code (which Jan and I call "heat3d"). This fixes that bug. Try an an mpirun with 4 processes and -X 20 -Y 20 -Z 201 and the process will crash before this bugfix.

Change build of mpi heat conduction and MPI exchange to CMake.

I have a brief text file that shows the extra steps I took to compile. I can add it upon request.

Before this is merged, I might CMake-ify some of the other Examples.

Makefile in some of the main exercises is still relevant because it might help those who are watching the kokkos_tutorials lectures and following along.

As it stands, everything has a CMakeLists.txt except hpcbind, tools_minimd, and deps

Daniel

DSMishler commented 1 year ago

Makefile has been restored