Mapping skeleton workflows onto heterogeneous platforms 1