Solution of a three-body problem in quantum mechanics using sparse linear algebra on parallel computers