LSF::Queue - get information about LSF queues.
use LSF::Queue;
use LSF::Queue RaiseError => 0, PrintError => 1, PrintOutput => 0;
($qinfo) = LSF::Queue->new( [QUEUE_NAME] );
@qinfo = LSF::Queue->new();
LSF::Queue is a wrapper arround the LSF 'bqueues' command used to obtain information about job queues. The hash keys of the object are LSF submission and control parameters. See the 'bqueues' man page for more information.
LSF::Queue
LSF
With a valid queue name, reates a new LSF::JobInfo object. Without a queue name returns a list of LSF::Queue objects for all the queues in the system. Arguments are the LSF parameters normally passed to 'bqueues'
LSF::JobInfo
The use of the '-l' flag of the LSF command lines can be considered a bug. The parsing of LSF output is particularly unsafe if job and group names with non-alphanumeric characters are used. You probably shouldn't be doing this anyway. Otherwise, please report them.
The LSF::Batch module on cpan didn't compile easily on all platforms i wanted. The LSF API didn't seem very perlish either. As a quick fix I knocked these modules together which wrap the LSF command line interface. It was enough for my simple usage. Hopefully they work in a much more perly manner.
LSF, bqueues
Mark Southern (mark_southern@merck.com)
Copyright (c) 2002, Merck & Co. Inc. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install LSF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LSF
CPAN shell
perl -MCPAN -e shell install LSF
For more information on module installation, please visit the detailed CPAN module installation guide.