HPC::Runner::Command::submit_jobs::Utils::Scheduler::Files
Take care of all file operations
Attributes
cmdfile
File of commands for mcerunner Is cleared at the end of each slurm submission
slurmfile
File generated from slurm template
Job submission file
Subroutines
resolve_project
prepare_files
prepare_counter
Prepare the counter. It is 001, 002, etc instead of 1, 2 etc
prepare_sched_files
prepare_batch_files_array
Write out the batch files
Old method
For job arrays this is 1 per array element
For (legacy) batches 1 file per batch
New method
One file per job - and we just have a counter to make sure we are on the right task