A topology-aware method for scientific application deployment on cloud