Changes between Version 6 and Version 7 of WikiStart
- Timestamp:
- 04/21/11 18:55:39 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v6 v7 32 32 the completion. To achieve this simply type the following command for 33 33 all queues which are intended to use with PBS DRMAA:: 34 {{ 34 35 {{{ 35 36 # qmgr -c "set queue QUEUE_NAME keep_completed = 60" 36 }} 37 }}} 38 37 39 The value of the `keep_completed parameter denotes a number of 38 40 seconds jobs will have to wait in the queue after the completion (and … … 48 50 During DRMAA session initialization (``drmaa_init``) library tries to read 49 51 its 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 52 57 If multiple configuration sources are present then all configurations 53 58 are 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). 56 61 57 62 Currently recognized configuration parameters are: 58 63 59 pool_delay 64 pool_delay:: 60 65 Amount of time (in seconds) between successive checks of unfinished job(s). 61 66 62 67 Type: integer, Default: 5 63 68 64 wait_thread 69 wait_thread:: 65 70 Value 1 enables single "wait thread" for updating jobs status. 66 71 With ``pbs_home`` set enables wait_thread which reads PBS log files (instead of polling PBS daemons). … … 68 73 Type: integer, Default: 0 69 74 70 pbs_home 75 pbs_home:: 71 76 Path to Torque/PBS Pro spool directory that contains server logs (e.g.: /var/spool/pbs). 72 77 73 78 Type: string, Default: not set 74 79 75 job_categories 80 job_categories:: 76 81 Dictionary of job categories. It's keys are job categories names 77 82 mapped to `native specification`_ strings. Attributes set by … … 80 85 is used when ``drmaa_job_category`` job attribute was not set. 81 86 82 cache_job_state 87 cache_job_state:: 83 88 According to the DRMAA specification every `drmaa_job_ps()` call should 84 89 query DRM system for job state. With this option one may optimize … … 91 96 92 97 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 103 105 104 106