superlu_dist icon indicating copy to clipboard operation
superlu_dist copied to clipboard

Bcast xtrue to non-root ranks

Open rayegun opened this issue 3 years ago • 1 comments

I believe this is correct, I haven't run it though. This should fix the issue we faced with xtrue being different when the number of ranks are > 1.

rayegun avatar Oct 31 '22 15:10 rayegun

This is a good suggestion. Your patch has a small error: P0 (root) should also participate in MPI_Bcast(). Instead of merging your PR, I updated the macro files that generate all the pdrive_ABglobal.c, with 3 precisions and 4 different example drivers. They are pushed in master branch on github.

You can close this one now.

xiaoyeli avatar Nov 02 '22 21:11 xiaoyeli