extensions.gem
Class createGRD
java.lang.Object
|
+--extensions.gem.createScript
|
+--extensions.gem.createGRD
- public class createGRD
- extends createScript
Program Name: createGRD.java
Comments: This class is a child of the createScript abstract parent.
Creates a GRD script.
Note that the ContextManager object cm and the string scriptString are
protected data inherited from the parent.
I am assuming the following naming convention for the context data:
shell: the unix shell to use.
queue: the particular queue (default, challenge, and so on).
Name: the name to give the job.
NNodes: the number of nodes to request.
walltime: the maximum time per node.
Memory: the desired amount of memory.
Note that all of these variables are not required.
Method Summary |
void |
createFlagTable()
Create header flags for the script. |
void |
createHeader()
This method concatenates the GRD-specific header directives
to the string scriptString, inherited from the parent. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
createGRD
public createGRD(moduleServerBean msb,
java.lang.String userName)
createGRD
public createGRD(extensions.gem.ContextManager cm,
java.lang.String userName)
createGRD
public createGRD(ContextManagerBean cm,
java.lang.String userName)
createHeader
public void createHeader()
- This method concatenates the GRD-specific header directives
to the string scriptString, inherited from the parent.
It probably wouldn't hurt at some point to associate the
param names with their flags. Note that for now we only
support csh.
- Overrides:
- createHeader in class createScript
createFlagTable
public void createFlagTable()
- Create header flags for the script. Note I'm not yet supporting
multiprocessor jobs.
- Overrides:
- createFlagTable in class createScript