cholla-hydro / cholla

A GPU-based hydro code
https://github.com/cholla-hydro/cholla/wiki
MIT License
65 stars 32 forks source link

RT MPI debug #276

Closed alwinm closed 1 year ago

alwinm commented 1 year ago

Sorry about the very ugly diff in RT_kernels.cu resulting from running dos2unix in a regrettable effort to remove ^M endings. The main difference is a number of nz were converted to ny

After these bugfixes, the iliev1.txt test works and is consistent between 1, 2, 4, and 8 GPUs.

alwinm commented 1 year ago

The bit in mpi/mpi_routines.cpp can probably be removed or replaced with some kind of comment. It currently does nothing but I left it in for now... if nfreq gets larger then it would need to be adjusted appropriately.