$dpkg -l | grep openmpi
ii openmpi-bin 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-common 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-dbg 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-dev 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-libs0 1.1-2.5ubuntu1 high performance message passing library
$dpkg -l | grep openmpi
ii openmpi-bin 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-common 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-dbg 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-dev 1.1-2.5ubuntu1 high performance message passing library
ii openmpi-libs0 1.1-2.5ubuntu1 high performance message passing library
$ mpicc.openmpi
$ mpicc.openmpi -showme
$ mpicc.openmpi -showme:link
$ mpicc.openmpi -showme:compile