| 1 | Since version 2.2.7 QCG-Computing is integrated with PL-Grid grants system. The integration with grant system has three main interaction points: |
| 2 | * QCG-Computing can accept jobs which has grant id set explicitly. One must use the `<jsdl:JobProject>` element, e.g.: |
| 3 | |
| 4 | {{{ |
| 5 | #!div style="font-size: 90%" |
| 6 | {{{#!sh |
| 7 | <?xml version="1.0" encoding="UTF-8"?> |
| 8 | |
| 9 | <jsdl:JobDefinition |
| 10 | xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl" |
| 11 | xmlns:jsdl-hpcpa="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcpa" |
| 12 | xmlns:jsdl-qcg-comp-factory="http://schemas.qoscosgrid.org/comp/2011/04/jsdl/factory"> |
| 13 | <jsdl:JobDescription> |
| 14 | <jsdl:JobIdentification> |
| 15 | <jsdl:JobProject>Manhattan</jsdl:JobProject> |
| 16 | </jsdl:JobIdentification> |
| 17 | <jsdl:Application> |
| 18 | <jsdl-hpcpa:HPCProfileApplication> |
| 19 | ... |
| 20 | }}} |
| 21 | }}} |
| 22 | |
| 23 | * QCG-Computing can provide information about the local grants to the upper layers (e.g. QCG-Broker), so they can use for scheduling purpose. One can enable it by adding the following line to the QCG-Computing configuration file (qcg-compd.xml): |
| 24 | {{{ |
| 25 | #!div style="font-size: 90%" |
| 26 | {{{#!sh |
| 27 | </sm:Transport> |
| 28 | ... |
| 29 | <sm:Module xsi:type="sm:general_python" path="/opt/plgrid/qcg/lib/qcg-comp/modules/python/plgrid_info.py"/> |
| 30 | }}} |
| 31 | }}} |
| 32 | Please note that this module requires the [#LDAPgeneratedgridmapfile qcg-gridmapfilegenerator] to be installed. |
| 33 | * The grant id is provided in resource usage record sent to the BAT accounting service |