Class for all logging attributes
Pattern to use to write out logs directory. Defaults to outdir/prunner_current_date_time/log1 .. log2 .. log3.
Show process_id in each log file. This is useful for aggregating logs
We also want to write all cmds and exit codes to a table
Submission tags
JSON string passed from HPC::Runner::App::Scheduler. It describes the total number of jobs, processes, and job batches.
You shouldn't be calling these directly.
Each time we make an update to the table throw it in here
Set the log directory
Set logfile
Initialize Log4perl log
Log the commands run them. Cat stdout/err with IO::Select so we hopefully don't break things.
This example was just about 100% from the following perlmonks discussions.
http://www.perlmonks.org/?node_id=151886
You can use the script at the top to test the runner. Just download it, make it executable, and put it in the infile as
perl command.pl 1 perl command.pl 2 #so on and so forth
Default is dt, jobname, counter
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.