openmpi rebuild command
rpmbuild –rebuild openmpi-1.2.4-1.src.rpm –define ‘configure_options –with-memory-manager=ptmalloc2 –enable-orterun-prefix-by-default –with-openib –prefix=/opt/openmpi/1.2.4-1/gcc –disable-ipv6’ –define ‘_name openmpi-gcc’ –define ‘_prefix /opt/openmpi/1.2.4-1/gcc’