| 1 | |
| 2 | Introduction |
| 3 | ============ |
| 4 | |
| 5 | DRMAA for Torque/PBS Pro is implementation of `Open Grid Forum`_ DRMAA_ |
| 6 | (Distributed Resource Management Application API) specification_ for |
| 7 | submission and control jobs to PBS_ systems: `PBS Professional`_, Torque_ |
| 8 | and OpenPBS_. Using DRMAA, grid applications builders, portal developers |
| 9 | and ISVs can use the same high-level API to link their software with |
| 10 | different cluster/resource management systems. |
| 11 | |
| 12 | This software also enables the integration of `SMOA Computing`_ |
| 13 | with the underlying Torque/PBS Pro system for remote multi-user job submission |
| 14 | and control over Web Services. |
| 15 | |
| 16 | This manual can be found in HTML and PDF formats in ``doc`` directory. |
| 17 | |
| 18 | |
| 19 | Installation |
| 20 | ============ |
| 21 | |
| 22 | To compile the library just go to main source directory and type:: |
| 23 | |
| 24 | $ ./configure [--prefix=/installation/directory] && make |
| 25 | |
| 26 | If you had installed PBS in a non standard directory pass it |
| 27 | in ``--with-pbs`` configure parameter. There are no unusual requirements |
| 28 | for basic usage of library: ANSI C compiler and standard make should |
| 29 | suffice (if linking against PBS Professional you will need also the OpenSSL library). |
| 30 | If you have taken sources directly from SVN repository you would |
| 31 | need additional `developer tools`_. For further information regarding GNU |
| 32 | build system see the INSTALL file. |
| 33 | |
| 34 | For Torque_ it is advised to configure queues so jobs are leaved after |
| 35 | the completion. To achieve this simply type the following command for |
| 36 | all queues which are intended to use with PBS DRMAA:: |
| 37 | |
| 38 | # qmgr -c "set queue QUEUE_NAME keep_completed = 60" |
| 39 | |
| 40 | The value of the ``keep_completed`` parameter denotes a number of |
| 41 | seconds jobs will have to wait in the queue after the completion (and |
| 42 | should be greater then ``pool_delay`` value in PBS DRMAA configuration_). |
| 43 | It enables the DRMAA library to retrieve the information about finished |
| 44 | jobs. |
| 45 | |
| 46 | Alternatively you can configure the DRMAA library to use Torque server daemon logs |
| 47 | as information source for terminated jobs (consult next section for details) |
| 48 | |
| 49 | |
| 50 | |