Alexandre Masselot > Phenyx-Utils > Phenyx::Utils::LSF::JobInfo

Download:
Phenyx-Utils-0.0.3.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Phenyx::Utils::LSF::JobInfo

SYNOPSIS ^

DESCRIPTION ^

Get info from LSF submited jobs

LSF master can be remote (setting $SHELLCOMMANDPREFIX)

FUNCTIONS ^

parseBJobs($job1 [,$job2 [...]]);

parseBJobs("-a"); #or whatever bjobs arguments that produce a same output

issue a bjobs command a returns a hash jobid => hash corresponding to bjobs output

jobInfo($jobid, $tag);

Returns a tag for a job (tags are bjobs command header, i.e. EXEC_HOST, QUEUE...)

isJobStarted($jobid);

Returns is a given job has been started (STAT is (PEND|PSUSP|RUN|USUSP|SSUSP))

isJobRunning($jobid);

Returns is a given job is currently running (STAT is 'RUN')

isJobFinished($jobid);

Returns is a given job has completed (error or not) (STAT is (DONE|EXIT|ZOMBI))

GLOBAL VARIABLES ^

SHELLCOMMANDPREFIX ^

A shell prefix (typically 'ssh user@lsf.host.name') to be preprend to any bjobs or whatever command.t

EXAMPLES ^

See t/ directories

SEE ALSO ^

bsub

COPYRIGHT ^

Copyright (C) 2004-2005 Geneva Bioinformatics www.genebio.com

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

AUTHORS ^

Alexandre Masselot, www.genebio.com

syntax highlighting: