11 | | As already mentioned this module use the same funcions names as the C-library. |
| 11 | As already mentioned this module use the same funcions names as the C-library. So you can use the ''man-pages'' that are include |
| 12 | in Torque software to see which arguments are required and returned. Keep in mind that the following C-types will be converted to |
| 13 | Python-type: |
| 14 | * C linked list are converted to python list and vica versa |
| 15 | * If C-struct is required then first allocate storage for it. The mostly used structs are: |
| 16 | * struct attr * --> pbs.new_attr(2), allocates a list of size 2 of type attr |
| 17 | * struct attropl * --> pbs.new_attropl(2), allocates a list of size 2 of type attropl |
| 18 | |
| 19 | How to use the pbs_python libary: |
| 20 | * [wiki:TorqueUsage/Interactive Interactive] |