public class PBS extends Abstract
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
mInitializeGridStart
A boolean indicating whether grid start has been initialized or not.
|
mBag, mLogger, mPOptions, mProps, mSubmitFileDirVERSION| Constructor and Description |
|---|
PBS()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.io.File> |
generateCode(ADag dag)
Generates the code for the concrete workflow in the GRMS input format.
|
void |
generateCode(ADag dag,
Job job)
Generates the code for a single job in the input format of the workflow
executor being used.
|
java.util.Map<java.lang.String,java.lang.String> |
getAdditionalBraindumpEntries(ADag workflow)
Returns a Map containing additional braindump entries that are specific
to a Code Generator
|
protected java.lang.String |
getPathtoPBSFile(ADag dag)
Returns the basename for the PBS script file for the dag
|
void |
initialize(PegasusBag bag)
Initializes the Code Generator implementation.
|
protected java.lang.String |
pbsBasename(ADag dag)
Returns the basename for the PBS file for the dag
|
getDAGFilename, getDAGFilename, getFileBaseName, getWriter, reset, startMonitoring, writeOutBraindump, writeOutDAXReplicaStore, writeOutNotifications, writeOutStampedeEventsprotected boolean mInitializeGridStart
public void initialize(PegasusBag bag) throws CodeGeneratorException
initialize in interface CodeGeneratorinitialize in class Abstractbag - the bag of initialization objects.CodeGeneratorException - in case of any error occuring code generation.public java.util.Collection<java.io.File> generateCode(ADag dag) throws CodeGeneratorException
dag - the concrete workflow.CodeGeneratorException - in case of any error occuring code generation.public void generateCode(ADag dag, Job job) throws CodeGeneratorException
dag - the dag of which the job is a part of.job - the Job object holding the information about
that particular job.CodeGeneratorException - in case of any error occuring code generation.public java.util.Map<java.lang.String,java.lang.String> getAdditionalBraindumpEntries(ADag workflow)
getAdditionalBraindumpEntries in class Abstractworkflow - the executable workflowprotected java.lang.String pbsBasename(ADag dag)
dag - the workflowprotected java.lang.String getPathtoPBSFile(ADag dag)
dag - the workflow