def add_records_for_unblocking_task( records_list ): current_MPI_process = translation_state.get_current_MPI_process() current_task = translation_state.get_tasks_entered_so_far() current_task_code = translation_state.get_current_task_type() utils.add_records_for_unblocking_task( records_list, current_MPI_process, current_task, current_task_code)
def add_records_for_unblocking_main_task( records_list ): current_MPI_process = translation_state.get_current_MPI_process() current_task = 0 # main task current_task_code = 1 # main task utils.add_records_for_unblocking_task( records_list, current_MPI_process, current_task, current_task_code)