fupermod: Functional Performance Models of heterogeneous processors

Distribution Converter

Converts a 1D distribution to a 2D distribution for matrix multiplication. 1D distribution defines the area that should be partitioned to each processor. 2D distribution calculated to minimise the total volume of communication. This is a serial programme that simply reads in one file and outputs another.