Download
A set of tools for use in a cluster setting. This can be downloaded from http://www.osc.edu/~troy/pbs/.
Dependencies
These tools rely on the presence of a number of other pieces of software. The following are needed for basic functionality:
- A PBS implementation -- either OpenPBS, PBS Pro, or TORQUE.
- Perl 5.x
- all, a parallel wrapper around rsh -- http://svn.osc.edu/repos/all. Other parallel rsh commands may also work if they support the -j (only run on nodes assigned to job) and -p (parallel) flags.
The included job tracking and reporting database system has additional requirements:
- A web server that supports PHP
- A MySQL database server
- PHP 4.x or 5.x with PEAR::DB and MySQL support
- Perl 5.x DBI and DBD::MySQL modules
- JPGraph
Installation
Basic Installation
cp bin/* $PREFIX/bin
cp sbin/{dezombify,qtracejob.pbs-server,reaver,showscript.pbs-server} $PREFIX/sbin
Installing the Stats Programs
cp sbin/{jobstats,find-outlyers} $PREFIX/sbin
Installing the DB System
cp sbin/{job-db-update,jobscript-to-db,spool-jobscripts} $PREFIX/sbin
chmod 750 $PREFIX/sbin/{job-db-update,jobscript-to-db}
mysql -u root -p < etc/create-tables.sql
GRANT INSERT,UPDATE,SELECT ON Jobs TO 'pbsacct'@'pbs_server.host' IDENTIFIED BY 'pbs_server.host.passwd';
export system="mysysid"
$PREFIX/sbin/job-db-update -h $system $PBS_HOME/server_priv/accounting/*