Create Solver Application Definitions
Create your own solver application definitions using the Basic-SMP or Basic-MPI starter template.
- 
                Click 
. 
             - 
                Select App Composer.
                The App Composer is displayed.
Figure 1. App Composer 
 - 
                Mouse hover the Server cluster that is displayed and click New
                        App.
                
Figure 2. App Composer - New App 
The App Composer Form is displayed.Figure 3. App Composer 
The App Composer UI is made up of three main areas. On the left panel, all your custom applications are listed. In the center panel build your own application definition and save it. The right panel provides a preview of our application definition in the Job Submission form.
 - 
                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.
 - 
                Click 
 to browse and select an icon for the
                    application definition.
             - Enter a name for the application definition.
 - 
                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.
 - Enter the output file types that has to be associated with the application definition.
 - 
                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 enter the syntax $ which helps to write the executable command.
Figure 4. Parameters List 
 - 
                Click Edit Pre-execution script to provide a python
                    script to run before the job is executed.
                Tip: The editor supports syntax highlighting and code completion.
Figure 5. Script Editor 
 - 
                Click Edit Post-execution script to provide a python
                    script to run before the job is executed.
                Tip: The editor supports syntax highlighting and code completion.
 - 
                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 remove the parameters.

 - 
                Click Add an application parameter to add or remove
                    parameters.
                
Figure 6. 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. - 
                Verify if you have provided all the details required for the application
                    definition.
                
Figure 7. Application Definition Form 
 - 
                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.
Figure 8. Peview and Test Panel 
 - Fill in the required application or profile arguments in the Job Submission form.
 - 
                Click Test and Submit.
                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.The application definition is added to the existing application definitions list.
Figure 9. 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.