Create Remote Desktops Application Definitions
Create your own Remote Desktops application definitions using the Desktop-Linux or Desktop-Windows 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 Input Template from the drop down list.
To create remote desktop based application definitions, select either Desktops-Linux or Desktops-Windows 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 required for the application definition that are provided
by the selected starter template.
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.
-
Click Manage Parameters to add or remove
parameters.
Figure 6. Manage Parameters
You can move the parameters from Available Parameters to Selected Parameters usingand
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. Preview 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.Tip: From the files list on the left panel, you can select other files to view the desktops details.
-
Click Connect.
The desktops will be launched in a new tab.
Figure 9. Remote Desktops
The application definition is added to the existing application definitions list.Figure 10. Application Definition 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.