Alexandre Masselot > Phenyx-Utils > lsf-synchroFilesUntilFinished.pl

Download:
Phenyx-Utils-0.0.3.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

lsf-synchroFilesUntilFinished.pl

DESCRIPTION ^

synchronize file from a node back to the master until a job is finished.

Directory structures must be the same ton the node as on the local machine

SYNOPSIS ^

lsf-synchroFilesUntilFinished.pl --jobid=lsfjobid --remotehost=hostname [--delay=int] /my/path1/file1 /my/path2/file2 /my/path3/file3

ARGUMENTS ^

--jobid=LSFJOBID

The lsf job id

If no files are specified (thus the format must be) I/O are stdin/out.

remotehost=hostname

A host from wich the file(s) is the to be gathered. A non-interactive rsync command chould be achievable towards this node.

argument can be user@host (or whatever considered by the rsync command)

remotenode=int

wait 4 the lsf job to start, then get back the file from given node in the attributed list

--delay=int

number of seconds to sleep between 2 synchro. [default is 5]

--rsyncopt=str

rsync options (--verbose --recursive "--rsh=ssh"...)

--lsfhost=[user@]hostname

Set a remote host for lsf master (thus a remote check for a job to be finished)

--help

--man

--verbose

EXAMPLE ^

SEE ALSO ^

Phenyx::Utils::LSF::JobInfo rsync

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: