gov.bnl.star.offline.scheduler.Dispatchers.lsf
Class LSFNodePriorityStringGenerator
java.lang.Object
gov.bnl.star.offline.scheduler.Dispatchers.lsf.LSFNodePriorityStringGenerator
public class LSFNodePriorityStringGenerator
- extends java.lang.Object
This class builds the string used by LSF to state which node
or nodes the job would prefer to run on. Nodes which hold more
local files requested by the job will be given a higher priority
then nodes that hold less files or do not hold any files by
LSF. The string is formated in such a way as to allow it to be
directly addable to the LSF command string.
- Author:
- Levente Hajdu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LSFNodePriorityStringGenerator
public LSFNodePriorityStringGenerator()
- Creates a new instance of RootdSyntaxGenerator
getOtherNodes
public java.lang.String getOtherNodes()
setOtherNodes
public void setOtherNodes(java.lang.String otherNodes)
generateSyntax
public java.lang.String generateSyntax(Job job)
- Build the string used to describe node priority.
- Parameters:
job
- The job jobject for which the LFS priorit string will be biult
- Returns:
- LSF node priority string
Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.