Inconsistent rows allocation in scalapack
问题 Consider the following simple fortran program program test_vec_allocation use mpi implicit none integer(kind=8) :: N ! =========================BLACS and MPI======================= integer :: ierr, size, rank,dims(2) ! ------------------------------------------------------------- integer, parameter :: block_size = 100 integer :: context, nprow, npcol, local_nprow, local_npcol integer :: numroc, indxl2g, descmat(9),descvec(9) integer :: mloc_mat ,nloc_mat ,mloc_vec ,nloc_vec call blacs_pinfo