NAME
setup_dkbench - DKbench Perl Benchmark utility setup script
DESCRIPTION
This is a setup script, part of the Benchmark::DKbench distribution.
Refer to the distribution POD for more information on the DKbench suite.
SYNOPSIS
Simple setup script to check/get the reference versions of CPAN modules and download the Genbank data file required for the BioPerl benchmarks of the DKbench suite.
setup_dkbench [options]
Options:
--sudo : Will use sudo for cpanm calls.
--force : Will install reference CPAN module versions and re-download the genbank data.
--test : Will run the test suites for the CPAN module (default behavior is to skip).
--data=s : Data dir path to copy files from. Should not need if you installed DKbench.
--help : Print this help text and exit.
If you don't match the recommended Perl and CPAN module versions, the benchmarks may show 'Fail' under Pass/Fail and scores may not be comparable to the baseline. This might be perfectly fine for your purposes - in fact it might be intended if you are benchmarking to compare different software instead of hardware.
This installer assumes you have at least gunzip, File::Fetch and cpanm already installed (curl -L https://cpanmin.us | perl - --sudo App::cpanminus
).
You will also need to have a build enviroment set up (compiler, make etc). If you want to add a couple of optional BioPerl bencharks you'd want an XML library in addition. Example command to do that with the package manager for CentOS/RedHat would be: sudo yum install gcc gcc-c++ kernel-devel make perl-XML-LibXML perl-XML-Parser
, while for Debian/Ubuntu etc: sudo apt install build-essential libxml-simple-perl
.
Note that the suite can be installed to as low as perl 5.12, however if you have a perl version lower than 5.14 make sure you install IO::Socket::IP 0.41 or lower first.