org.griphyn.cPlanner.code.generator.condor.style
Class Condor

java.lang.Object
  extended by org.griphyn.cPlanner.code.generator.condor.style.Abstract
      extended by org.griphyn.cPlanner.code.generator.condor.style.Condor
All Implemented Interfaces:
CondorStyle

public class Condor
extends Abstract

Enables a job to be directly submitted to the condor pool of which the submit host is a part of. This style is applied for jobs to be run - on the submit host in the scheduler universe (local pool execution) - on the local condor pool of which the submit host is a part of

Version:
$Revision: 455 $
Author:
Karan Vahi

Field Summary
static String LOCAL_UNIVERSE
           
static String SCHEDULER_UNIVERSE
           
static String STANDARD_UNIVERSE
           
static String STYLE_NAME
          The name of the style being implemented.
static String UNIVERSE_KEY
           
static String VANILLA_UNIVERSE
           
 
Fields inherited from class org.griphyn.cPlanner.code.generator.condor.style.Abstract
mLogger, mProps, mSCHandle
 
Fields inherited from interface org.griphyn.cPlanner.code.generator.condor.CondorStyle
VERSION
 
Constructor Summary
Condor()
          The default constructor.
 
Method Summary
 void apply(SubInfo job)
          Applies the condor style to the job.
 
Methods inherited from class org.griphyn.cPlanner.code.generator.condor.style.Abstract
errorMessage, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNIVERSE_KEY

public static final String UNIVERSE_KEY
See Also:
Constant Field Values

VANILLA_UNIVERSE

public static final String VANILLA_UNIVERSE
See Also:
Constant Field Values

SCHEDULER_UNIVERSE

public static final String SCHEDULER_UNIVERSE
See Also:
Constant Field Values

STANDARD_UNIVERSE

public static final String STANDARD_UNIVERSE
See Also:
Constant Field Values

LOCAL_UNIVERSE

public static final String LOCAL_UNIVERSE
See Also:
Constant Field Values

STYLE_NAME

public static final String STYLE_NAME
The name of the style being implemented.

See Also:
Constant Field Values
Constructor Detail

Condor

public Condor()
The default constructor.

Method Detail

apply

public void apply(SubInfo job)
           throws CondorStyleException
Applies the condor style to the job. Changes the job so that it results in generation of a condor style submit file that can be directly submitted to the underlying condor scheduler on the submit host, without going through CondorG. This applies to the case of - local site execution - submitting directly to the condor pool of which the submit host is a part of.

Parameters:
job - the job on which the style needs to be applied.
Throws:
CondorStyleException - in case of any error occuring code generation.


Copyright © 2007 The University of Southern California. All Rights Reserved.