Changes between Version 6 and Version 7 of WikiStart

Show
Ignore:
Timestamp:
04/21/11 18:55:39 (13 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v6 v7  
    3232the completion.  To achieve this simply type the following command for 
    3333all queues which are intended to use with PBS DRMAA:: 
    34 {{ 
     34 
     35{{{ 
    3536  # qmgr -c "set queue QUEUE_NAME keep_completed = 60" 
    36 }} 
     37}}} 
     38 
    3739The value of the `keep_completed parameter denotes a number of 
    3840seconds jobs will have to wait in the queue after the completion (and 
     
    4850During DRMAA session initialization (``drmaa_init``) library tries to read 
    4951its configuration parameters from locations: 
    50 ``/etc/pbs_drmaa.conf``, ``~/.pbs_drmaa.conf`` and from file given in 
    51 ``PBS_DRMAA_CONF`` environment variable (if set to non-empty string). 
     52 
     53* `PREFIX/etc/pbs_drmaa.conf,  
     54* `~/.pbs_drmaa.conf 
     55* and from file given in `PBS_DRMAA_CONF environment variable (if set to non-empty string). 
     56 
    5257If multiple configuration sources are present then all configurations 
    5358are merged with values from user-defined files taking precedence 
    54 (in following order: ``$PBS_DRMAA_CONF``, ``~/.pbs_drmaa.conf``, 
    55 ``/etc/pbs_drmaa.conf``). 
     59(in following order: `$PBS_DRMAA_CONF, `~/.pbs_drmaa.conf``, 
     60`PREFIX/etc/pbs_drmaa.conf). 
    5661 
    5762Currently recognized configuration parameters are: 
    5863 
    59   pool_delay 
     64  pool_delay:: 
    6065    Amount of time (in seconds) between successive checks of unfinished job(s). 
    6166 
    6267     Type: integer, Default: 5 
    6368 
    64   wait_thread 
     69  wait_thread:: 
    6570    Value 1 enables single "wait thread" for updating jobs status.  
    6671    With ``pbs_home`` set enables wait_thread which reads PBS log files (instead of polling PBS daemons). 
     
    6873     Type: integer, Default: 0 
    6974 
    70   pbs_home 
     75  pbs_home:: 
    7176    Path to Torque/PBS Pro spool directory that contains server logs (e.g.: /var/spool/pbs). 
    7277     
    7378     Type: string, Default: not set 
    7479      
    75   job_categories 
     80  job_categories:: 
    7681    Dictionary of job categories.  It's keys are job categories names 
    7782    mapped to `native specification`_ strings.  Attributes set by 
     
    8085    is used when ``drmaa_job_category`` job attribute was not set. 
    8186 
    82   cache_job_state 
     87  cache_job_state:: 
    8388    According to the DRMAA specification every `drmaa_job_ps()` call should 
    8489    query DRM system for job state.  With this option one may optimize 
     
    9196 
    9297 
    93 .. table:: 
    94   Different modes of operation 
    95  
    96   =========== ========= =========== ======================= =================================== 
    97   wait_thread pbs_home     mode     keep_completed needed         comments 
    98   =========== ========= =========== ======================= =================================== 
    99        0       not set   polling           yes              default configuration 
    100        1       not set   polling           yes              more effective than above 
    101        1         set     triggered         no               read access to server logs needed 
    102   =========== ========= =========== ======================= =================================== 
     98 
     99==  Different modes of operation == 
     100 
     101|| =wait_thread= || =pbs_home= ||   =mode= ||     =keep_completed needed=  ||     =comments= 
     102||       0                || not set            || polling      ||     yes                                         ||  default configuration 
     103||       1                || not set            || polling      ||     yes                                         || more effective than above 
     104||       1                || set                  || triggered  ||      no                                         || read access to server logs needed 
    103105   
    104106