<%@ page info="Display and modify the data" %> <%@ page import="WebFlow.*" %> <%@ page import="WebFlow.ContextManager.*" %> <%@ page import="java.util.*" %> <%@ page errorPage="/Generic/Error.jsp" %> <% //String userName=storeInfo.getTableVal("userName"); String problemName=storeInfo.getTableVal("problemName"); String sessionName=request.getParameter("sessionName"); storeInfo.setTablePair("sessionName",sessionName); String sessionChoice = request.getParameter("sessionchoice"); String archiveType = storeInfo.getTableVal("archiveType"); ContextManager cm = null; if(archiveType.equals("masterProblemname")) { cm=modserver.getContextManager(); } else { cm=modserver.getContextManagerForSlave(); } cm.selectSession(problemName,sessionName); %> Job Script Review <% if(sessionChoice.equals("Edit")) { Vector machineNames=parseXML.getHostListNames(cm.getCurrentSessionProperty("codeName")); %>

Job Script Review

Please provide the following information needed to generate the job script.

Code: <%= cm.getCurrentSessionProperty("codeName") %> ">

Machine Name: <% String tmp1; String code = cm.getCurrentSessionProperty("machineName"); for(int j=0;j
CHECKED > <%= tmp1 %> <% } else { %>
> <%= tmp1 %> <% } } %>

Shell: <% String shellchecked = cm.getCurrentSessionProperty("shell"); if(shellchecked.equals("/bin/csh/")) { %> /bin/csh /bin/sh <% } else { %> /bin/csh /bin/sh <% } %>

Queue: <% String queuechecked = cm.getCurrentSessionProperty("queue"); if(queuechecked.equals("small")) { %> small medium large default <% } else if (queuechecked.equals("medium")) { %> small medium large default <% } else if (queuechecked.equals("large")) { %> small medium large default <% } else { %> small medium large default <% } %>

WallTime (hh:mm:ss): ">

Number of Nodes: ">

The code you have selected takes <%= cm.getCurrentSessionProperty("NumberOfInParams")%> input parameter(s). These are the command line arguments. See the code documentation for details. <% String slimit1 = cm.getCurrentSessionProperty("NumberOfInParams"); if (!slimit1.equals("0")) { int limit1=Integer.parseInt(slimit1); String inputparamList = cm.getCurrentSessionProperty("inputParam"); StringTokenizer st = new StringTokenizer(inputparamList,"+"); for(int i=0;i
Input Parameter:
<% } } %>

The following are the input files that you specified for the code. Please provide the location of the input file(s) on the remote host, <%= cm.getCurrentSessionProperty("machineName") %>. You can use the "Upload" button in the "Tools" area to transfer your input file from your desktop to the remote host.
  <% String slimit2 = cm.getCurrentSessionProperty("NumberOfInFiles"); if (!slimit2.equals("0")) { int limit2=Integer.parseInt(slimit2); String inputpathList = cm.getCurrentSessionProperty("inputFiles"); StringTokenizer st = new StringTokenizer(inputpathList,"+"); for(int i=0;i Input File:
<% } } %> The application requires <%= cm.getCurrentSessionProperty("NumberOfOutParams") %> out put parameter(s).
  <% String suplimit1 = cm.getCurrentSessionProperty("NumberOfOutParams"); if(!suplimit1.equals("0")) { int uplimit1=Integer.parseInt(suplimit1); String outputparamList = cm.getCurrentSessionProperty("outputParams") ; StringTokenizer st1 = new StringTokenizer(outputparamList,"+"); for(int j=0;j Output File:
<% } } %> Finally, this application generates <%= cm.getCurrentSessionProperty("NumberOfOutFiles") %> output file(s). Please specify the full path name of the directory on the HPC server where you would like this file to be placed. You can later download this file to your desktop with the "Download" button form the "Tools" area.
  <% String suplimit2 = cm.getCurrentSessionProperty("NumberOfOutFiles"); if(!suplimit2.equals("0")) { int uplimit2=Integer.parseInt(suplimit2); String outputpathList = cm.getCurrentSessionProperty("outputFiles"); StringTokenizer st1 = new StringTokenizer(outputpathList,"+"); for(int j=0;j Output File:
<% } } %>    <% } else if(sessionChoice.equals("Delete")) { //if(sessionChoice) cm.removeCurrentSession(); %> The session archive, <%= sessionName %> was deleted.
<% } else { //View Data %>

Code Selection for the visualization

Please provide the following information needed to visualize.

  • Machine Name: <% String tmp2; String code1 = cm.getCurrentSessionProperty("machineName"); //parseXML.init(xmlpath); Vector appNames=parseXML.getApplications(); %> <%= code1 %>

  • The Visualization Toolkit <% Vector viznames = parseXML.getVizNameList(cm.getCurrentSessionProperty("codeName"),code1); int vsize = viznames.size(); if(vsize != 0) { for(int j1=0;j1
    > <%= tmp2 %> <% } %>

  • Data Files:
    <% String suplimit3 = cm.getCurrentSessionProperty("NumberOfOutFiles"); if(!suplimit3.equals("0")) { int uplimit3=Integer.parseInt(suplimit3); String outputpathList1 = cm.getCurrentSessionProperty("outputFiles"); StringTokenizer st2 = new StringTokenizer(outputpathList1,"+"); for(int j=0;j Data File:
    <% } } %>

  • Output File for the visualization:
    Output File:

      

  • <% } else { %>

    You don't have any visualization tool kit with that machine, <%= code1 %>.

    <% } } %>