Calculation of incompressible rough-wall boundary-layer flows