extensions.gem
Class createCSH

java.lang.Object
  |
  +--extensions.gem.createScript
        |
        +--extensions.gem.createCSH

public class createCSH
extends createScript

Program Name: createCSH.java Comments: This class is a child of the createScript abstract parent. Creates an interactive shell 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.


Fields inherited from class extensions.gem.createScript
cm, descDir, my_cm, pw, scriptString
 
Constructor Summary
createCSH(ContextManagerBean cm, java.lang.String userName)
           
createCSH(extensions.gem.ContextManager cm, java.lang.String userName)
           
createCSH(moduleServerBean msb, java.lang.String userName)
           
 
Method Summary
 void createFlagTable()
          Create header flags for the script.
 void createHeader()
          Creates the shell script header.
 
Methods inherited from class extensions.gem.createScript
createCommands, createHashCommands, writeScript
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

createCSH

public createCSH(moduleServerBean msb,
                 java.lang.String userName)

createCSH

public createCSH(extensions.gem.ContextManager cm,
                 java.lang.String userName)

createCSH

public createCSH(ContextManagerBean cm,
                 java.lang.String userName)
Method Detail

createHeader

public void createHeader()
Creates the shell script header.
Overrides:
createHeader in class createScript

createFlagTable

public void createFlagTable()
Create header flags for the script. For a csh script, you don't need anything.
Overrides:
createFlagTable in class createScript