Scheduler configuration file

The scheduler configuration file defines the name of the scheduler so that the TMG Executive Menu can locate it.

This file also defines the name and path of the submit and delete scripts that send jobs to a queue, which distribute the jobs in a sequential order to the cluster. The queue executes the jobs when the resources you requested become available.

TMG Executive Menu uses the following scheduler configuration file parameters to set up the parallel processing:

  • <scheduler label> identifies the unique name for each scheduler.
  • <script> identities the type of job script: submit or delete, and the full path and name of the scripts.
  • (Optional) <timeout> sets the duration and the number of times that the solution monitor attempts to locate the DMP license.
  • (Optional) <duration> sets the length of time allotted for the monitor to detect the DMP license before cancelling the operation.
  • (Optional) <retries> sets the number of times allotted for the monitor to detect the DMP license before cancelling the operation.

To define more than one scheduler queue, you set unique labels for each additional scheduler in the <scheduler label> parameter.

Example

In this example, two queues are defined by setting two unique scheduler names for the scheduler labels: ”MyDesktop” and ”MyCluster". Each of them have their own submit and delete scripts.

<?xml version=”1.0” encoding=”utf-8”?>
<scheduler_info>
<scheduler label=”MyDesktop”>
<script type="submit" path="c:/tmg/exe/start_slave.bat"/>
<script type="delete" path="c:/tmg/exe/delete_slave.bat"/>
</scheduler>
<scheduler label=”MyCluster”>
<script type="submit" path="/shared_nfs/scripts/run_parallel_slave.sh"/>
<script type="delete" path="/shared_nfs/scripts/delete.sh"/>
</scheduler>
<timeout>
<duration seconds=”30”/>
<retries number=”10”/>
</timeout>
</scheduler_info>