def METHOD_NAME(automated, cwd, compiler, architecture, n_node_list, start_date, path_source, path_results):
    dependencies = ''
    f_log = open(cwd + 'log_jobids_tmp.txt' ,'r')
    for line in f_log.readlines():
        dependencies += line.split()[3] + ':'
    batch_string = '''#!/bin/bash