splitting this off from the main command
DEPRACATED process_batch_command
Command that hpcrunner.pl execute_job/execute_array uses
If there is a version add it
Submit the job to the scheduler.
Inputs: self, submit_command (sbatch, qsub, etc)
Returns: exitcode, stdout, stderr
This subroutine was just about 100% from the following perlmonks discussions. All that I did was add in some logging.
http://www.perlmonks.org/?node_id=151886
This is probably overkill - but occasionally the scheduler takes longer than we think to exit
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.