= QCG OpenMPI Coordinator Installation = The QCG OpenMPI Coordinator service is a lightweight service that coordinates startup of the OpenMPI daemons among clusters. = Installation = * Download [[http://node2.qoscosgrid.man.poznan.pl/~qcg/packages/ompi-deployment.tar.gz|OpenMPI deployment]] scripts * 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: {{{ #!div style="font-size: 90%" {{{#!sh $ tar xzf ompi-deployment.tar.gz $ cd ompi-deployment $ vim Makefile $ make $ sudo make install }}} }}} = Starting the service = In order to start the service simply type: {{{ #!div style="font-size: 90%" {{{#!sh $ /opt/QCG/OMPI/deployment/coordinator 19009 Starting coordinator on port 19009... }}} }}} '''Note:''' We advice to use the the `screen` linux utility to keep the service running in the background. 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).