extensions.gem
Class createPBS
java.lang.Object
|
+--extensions.gem.createScript
|
+--extensions.gem.createPBS
- public class createPBS
- extends createScript
Program Name: createPBS.java
Comments: This class is a child of the createScript abstract parent.
Creates a PBS 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.
Note that all of these variables are not required.
Method Summary |
void |
createFlagTable()
|
void |
createHeader()
This method concatenates the PBS-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 |
createPBS
public createPBS(extensions.gem.ContextManager cm,
java.lang.String userName)
createPBS
public createPBS(ContextManagerBean cm,
java.lang.String userName)
createHeader
public void createHeader()
- This method concatenates the PBS-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 (shell and -S, for example).
- Overrides:
- createHeader in class createScript
createFlagTable
public void createFlagTable()
- Overrides:
- createFlagTable in class createScript