Implicit conjugate-gradient solvers on distributed-memory architectures