Given an input file of runtimes per gs-jobs, the list of gs-jobs will be sorted and output in a given number of splits of the complete number of gs-jobs.

split_gsruns_sorted_rt(
  ps_rt_in_file,
  ps_out_dir,
  pn_nr_split,
  ps_out_file_stem = "gsSortedRuns.txt"
)

Arguments

ps_rt_in_file

gs-job runtime input file

ps_out_dir

output directory where the splitted jobs should be written to

pn_nr_split

number of splitted job files.

ps_out_file_stem

stem of output filename

Details

--- title: Sort a List of gsRuns According To Their Runtime date: "2019-10-30" ---

Examples

if (FALSE) {
split_gsruns_sorted_rt(ps_rt_in_file = "work/rank_gsRuns_runtime.out", ps_out_dir = "work", pn_nr_split = 10)
}