| 1 | = QCG OpenMPI Coordinator Installation = |
| 2 | The QCG OpenMPI Coordinator service is a lightweight service that coordinates startup of the OpenMPI daemons among clusters. |
| 3 | |
| 4 | = Installation = |
| 5 | * Download [[http://node2.qoscosgrid.man.poznan.pl/~qcg/packages/ompi-deployment.tar.gz|OpenMPI deployment] scripts |
| 6 | * Edit the Makefile and set the `QCG_OMPI_HOME` variable to the prefix selected during the OpenMPI library installation (e.g. `/opt/QCG/OMPI/`) then type make and make install: |
| 7 | {{{ |
| 8 | #!div style="font-size: 90%" |
| 9 | {{{#!sh |
| 10 | $ tar xzf ompi-deployment.tar.gz |
| 11 | $ cd ompi-deployment |
| 12 | $ vim Makefile |
| 13 | $ make |
| 14 | $ sudo make install |
| 15 | }}} |
| 16 | }}} |
| 17 | = Starting the service = |
| 18 | In order to start the service simply type: |
| 19 | {{{ |
| 20 | #!div style="font-size: 90%" |
| 21 | {{{#!sh |
| 22 | $ /opt/QCG/OMPI/deployment/coordinator 19009 |
| 23 | Starting coordinator on port 19009... |
| 24 | }}} |
| 25 | }}} |
| 26 | |
| 27 | '''Note:''' We advice to use the the `screen` linux utility to keep the service running in the background. |
| 28 | |
| 29 | Assuming that the grid machine host name is `grid.example.com` the address of the PNC service started in the above example is: `http://grid.example.com:19009/`. This address must be given in the [[installation_QCG_Broker#Configuration| QCG Broker configuration file]] (`$GRMS/broker/etc/config.prop`, the '''broker.qoscos.ompi.pncURL''' property). |