问题 consider the following piece of code using scalapack: ! if (norm2(h-x0) < tol) then tmp_vec = h - x0 call pdnrm2(N,norm,tmp_vec,1,1,descvec,1) if (norm < tol) then x=h converged = .true. exit endif s = r0 - alpha*v call pdgemv('N', N, N, 1.0, A, 1, 1, descmat, s, 1, 1, descvec, 1, 0.0,t, 1, 1, descvec, 1) its part of an iterative solver that i was trying, problem is that if my processor grid is two dimensional, my vectors do not have any elements on those procs, hence dnrm2 yields zero or the