Text this: Physical optimization algorithms for mapping data to distributed-memory multiprocessors