Software issues on mapping applications onto heterogeneous machines and the performance of Krylov algorithms on parallel machines