12.3.5. Setting Up an Interactive Job

Engineering Knowledge Manager

User's Guide | Chapter 12: Managing Jobs | 12.3. Running an Interactive Job |

12.3.4. Starting an Interactive Job from a File System Folder |  | 12.3.6. Starting a Remote Desktop Session
Prev |  | Next

### 12.3.5. Setting Up an Interactive Job

When you start an interactive job using the Interactive job application, from an interactive job template, or from a repository file, you are prompted to specify a job name and upload files to the job’s working directory.

1. On the first screen of the job wizard, specify the tag to apply to the job (if desired), the job name, and the working directory. These settings are described in Setting Up a Batch Job.

2. Click Next, then select the input files that you want to upload to the working directory. For more information, see Uploading Files to a Server Folder. If you started the job from existing repository files, the files will begin uploading to the working directory automatically.

   Alternatively you can upload files to the working directory after the interactive session has been started. In this case, skip to the next step.

3. Click Next to specify the job submission settings:

   The settings are described below.

   Job template

     Selecting the built-in Interactive template or a custom interactive job template displays settings that are specific to interactive jobs.

   Application to be launched

     If None remains selected, a remote desktop session will be launched. To launch a specific application, such as ANSYS Workbench, Fluent, or Mechanical APDL, select it from this drop-down.

   Queue

     The job submission queue. You may want to select a specific queue if the application exists on multiple queues.

   Resource options

     If the selected queue is associated with a Neutro job scheduler, you can submit the job to a visualization host with a particular resource (memory or tag). Select the resource option that you would like to use.

     For more information about how visualization hosts are categorized, see Monitoring a Visualization Server or Cluster.

   Note that if there are no visualization nodes available when the job is started, the job will remain in the `Pending` state until a node becomes available. If you would prefer that the job fail immediately instead of waiting indefinitely for an available node, you can specify this in your native scheduler options. For example, if you are using a queue that is associated with an SGE scheduler, you can accomplish this by specifying the `-now yes` option. Other schedulers may have similar options.

4. Click Finish to start the interactive job. A job object will be created for the session on the Jobs/Job Monitor page. It may take a few minutes for the interactive session to be created.

   Note: If you navigate away from the Jobs/Job Monitor page or sign out of EKM while the interactive session is being created (status is `Pending`), you will receive an email notification once the interactive session has been started (status is `Running`).

   As you are connected to the interactive session, a file is downloaded that contains information about the session. You will be prompted to open this file with a visualization tool, as shown in the figure below.

   Figure 12.8: Opening a Remote Connection Information File

5. Click OK. This opens the remote visualization client, enabling you to interact with the remote desktop session.

   In the figure below, ANSYS Workbench has been launched remotely from a user’s computer:

   Figure 12.9: Sample Remote Desktop Session

   If you do not connect to the remote session, or are disconnected from it, you can connect to it by clicking Connect on the toolbar. See Connecting to an Interactive Session for details.

When executing an interactive job you can access the job’s working directory and perform various data management tasks such as uploading, copying, moving, deleting, and renaming files. See Accessing a Job's Working Directory for details.

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Prev | Up / Contents | Next

Release 18.2 - © ANSYS, Inc. All rights reserved.