Distributed-memory dense linear algebra