use solver factory in scalapack