Once we have parsed the input file parse each job_type for job_batches
Schedule our jobs
Use Algorithm::Dependency to schedule the jobs
Catch any scheduling errors not caught by the sanity check
Run a sanity check on the schedule. All the job deps should have existing job names
Chunk commands per job into batches
#TODO Clean this up
Arrays should not be greater than the max_array_size variable
If it is they need to be chunked up into various arrays
Each array becomes its own 'batch'
Iterate through the batches to assign stats (number of batches per job, number of tasks per command, etc)
Each jobtype has one or more batches iterate over the the batches to get some data and assign s
For batches - each HPC::Runner::Command::submit_jobs::Utils::Scheduler::Batch
is an element in the array Each element could has commands_per_node tasks
Parse the #TASK lines to get batch_tags #TODO We should do this while are reading in the file
To install HPC::Runner::Command, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HPC::Runner::Command
CPAN shell
perl -MCPAN -e shell install HPC::Runner::Command
For more information on module installation, please visit the detailed CPAN module installation guide.