Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
workload_management_api [2007/09/23 11:05]
mike
workload_management_api [2007/09/23 11:14] (current)
mike
Line 201: Line 201:
   * LL_PREEMPT_SYS_HOLD   * LL_PREEMPT_SYS_HOLD
   * LL_PREEMPT_USER_HOLD   * LL_PREEMPT_USER_HOLD
 +
  
 ===== ll_move_job ===== ===== ll_move_job =====
Line 209: Line 210:
  
 This function moves a single job from one cluster to another in a multi-cluster environment. ​ The syntax has been simplified from the C version by removing the //​LL_move_job_param//​ list and just supplying the parameters. ​ On success API_OK is returned, anything else the **$IBM::​LoadLeveler::​errObj** is set and can be access using **ll_error**. This function moves a single job from one cluster to another in a multi-cluster environment. ​ The syntax has been simplified from the C version by removing the //​LL_move_job_param//​ list and just supplying the parameters. ​ On success API_OK is returned, anything else the **$IBM::​LoadLeveler::​errObj** is set and can be access using **ll_error**.
 +
 +===== ll_move_spool =====
 +
 +<code perl>
 +$rc=ll_move_spool($schedd_host,​$directory);​
 +</​code>​
 +
 +This is yet another function that has been simplified for ease of use.  Instead of taking a list of //​LL_move_spool_param//​ structs, the syntax has been simplified from the C version to only require the target //​schedd_host//​ and the spool directory containing the job records to be moved.
 +
 +The user supplied function that this routine could take has been hardcoded with one that prints the error message if there is one.
 +
 +On success API_OK is returned, anything else the **$IBM::​LoadLeveler::​errObj** is set and can be access using **ll_error**.
  
 
workload_management_api.txt ยท Last modified: 2007/09/23 11:14 by mike
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki