SYNTAX
------

C Syntax
^^^^^^^^

.. code-block:: c

    int MPI_Intercomm_merge(MPI_Comm intercomm, int high, MPI_Comm*
        newintracomm)

Fortran Syntax
^^^^^^^^^^^^^^

.. code-block:: fortran

    USE MPI
    ! or the older form: INCLUDE 'mpif.h'
    MPI_INTERCOMM_MERGE(INTERCOMM, HIGH, NEWINTRACOMM, IERROR)
    	INTEGER INTERCOMM, NEWINTRACOMM, IERROR
    	LOGICAL HIGH

Fortran 2008 Syntax
^^^^^^^^^^^^^^^^^^^

.. code-block:: fortran

    USE mpi_f08
    MPI_Intercomm_merge(intercomm, high, newintracomm, ierror)
    	TYPE(MPI_Comm), INTENT(IN) :: intercomm
    	LOGICAL, INTENT(IN) :: high
    	TYPE(MPI_Comm), INTENT(OUT) :: newintracomm
    	INTEGER, OPTIONAL, INTENT(OUT) :: ierror
