allocate for apps in job, tasks_per_node is unfinished