A new task mapping and scheduling method is developed, which resembles the zone refining process to purify crystal ingots. In our approach, the tasks are grouped and each group is iteratively optimized one by one. One of good features of our method is that the tradeoff between performance and runtime is possible by adjusting the group size. The proposed task mapping and scheduling method is applied for pipelined processing, as well as batch processing.