Fix MPI deadlock in the symmetrizer
Description
The exit condition depended on local data - if the complete local field is 0 on one rank, it will exit the function early, while the other processes still wait for gathering the data.
Now, do the zero check on the full array to do exactly the same on all ranks.
Checklist
-
I have checked that my code follows the Octopus coding standards