Create Solver Application Definitions

Create your own solver application definitions using the Basic-SMP or Basic-MPI starter template.

  1. Click .
  2. Select App Composer.
    The App Composer is displayed.

    The App Composer UI is made up of three main areas. On the left panel, all your custom applications are listed. In the centre panel build your own application definition and save it. The right panel provides a preview of our application definition in the Job Submission form.

    App Composer
    Figure 1. App Composer
  3. Select a starter template from the Input Template drop down list.
    To create solver based application definitions, select either Basic-SMP or Basic-MPI starter template.
  4. Click to browse and select an icon for the application definition.
  5. Enter a name for the application definition.
  6. Enter all the input file type extensions that will be supported by the application definition.
    Access Web links a job input file to a specific application or solver via the file's extension. This set up will determine which solvers are available for a file extension.
  7. Enter the output file types that has to be associated with the application definition.
  8. Click Edit Pre to provide a python script to run before the job is executed.
    Tip: The editor supports syntax highlighting and code completion.

    Script Editor
    Figure 2. Script Editor
  9. Click Edit Post to provide a python script to run after the job is executed.
    Tip: The editor supports syntax highlighting and code completion.
  10. Enter the executable command to run the job.
    The executable command can be a basic shell scripts and multi-line shell scripts.
    Tip: The command box provides the list of parameters when you click or when you enter the syntax $ which helps to write the executable command.

    Parameters List
    Figure 3. Parameters List
  11. Choose the parameters that are provided by the selected starter template required for the application definition.
    You can specify if the parameters are optional or required field in the job submission form. You can also set the default values for the parameters.

  12. Click Manage Parameters to add or remove parameters.

    Manage Parameters
    Figure 4. Manage Parameters
    You can move the parameters from Available Parameters to Selected Parameters using and buttons. Rearrange the order of the parameters in the Selected Parameters column using and buttons. The Job Submission form will display the parameters in the same order.
  13. Verify if you have provided all the details required for the application definition.

    Application Definition Form
    Figure 5. Application Definition Form
  14. Click Save.

    The Preview & Test panel on the right displays the job submission form, Job Submission command and Solver Launch Command information for the application definition we have composed.

    Peview and Test Panel
    Figure 6. Peview and Test Panel
  15. Fill in the required application or profile arguments in the Job Submission form.
  16. Click Submit & Test.
    Tip: Click on the Job ID link provided in the notification to view the job status.
    The job is submitted and a Test Job Monitor window is displayed.

    Test Job Monitor
    Figure 7. Test Job Monitor
    Tip: From the files list on the left panel, you can select other files to view the job details.
    The application definition is added to the existing application definitions list.

    Application Defintion List
    Figure 8. Application Defintion List
    Note: The application definitions that you have created are in JSON format and is stored at /home/$USER/userapps. The System Administrator can configure the path so that you can edit it in the Text Viewer.