bugfix: do not perform an allreduce on the scalar product results if the vector is a global one
bugfix: do not perform an allreduce on the scalar product results if the vector is a global one

RRZE-HPC/GHOST,RRZE-HPC/GHOST,RRZE-HPC/GHOST,RRZE-HPC/GHOST