( cd usr/share/openmpi ; rm -rf mpicxx-vt-wrapper-data.txt )
( cd usr/share/openmpi ; ln -sf mpic++-vt-wrapper-data.txt mpicxx-vt-wrapper-data.txt )
( cd usr/share/openmpi ; rm -rf mpif77-vt-wrapper-data.txt )
( cd usr/share/openmpi ; ln -sf mpifort-wrapper-data.txt mpif77-vt-wrapper-data.txt )
( cd usr/share/openmpi ; rm -rf mpif90-vt-wrapper-data.txt )
( cd usr/share/openmpi ; ln -sf mpifort-wrapper-data.txt mpif90-vt-wrapper-data.txt )
( cd usr/share/openmpi ; rm -rf mpiCC-vt-wrapper-data.txt )
( cd usr/share/openmpi ; ln -sf mpic++-vt-wrapper-data.txt mpiCC-vt-wrapper-data.txt )
( cd usr/share/openmpi ; rm -rf mpicxx-wrapper-data.txt )
( cd usr/share/openmpi ; ln -sf mpic++-wrapper-data.txt mpicxx-wrapper-data.txt )
( cd usr/share/openmpi ; rm -rf mpif77-wrapper-data.txt )
( cd usr/share/openmpi ; ln -sf mpifort-wrapper-data.txt mpif77-wrapper-data.txt )
( cd usr/share/openmpi ; rm -rf mpif90-wrapper-data.txt )
( cd usr/share/openmpi ; ln -sf mpifort-wrapper-data.txt mpif90-wrapper-data.txt )
( cd usr/share/openmpi ; rm -rf mpiCC-wrapper-data.txt )
( cd usr/share/openmpi ; ln -sf mpic++-wrapper-data.txt mpiCC-wrapper-data.txt )
( cd usr/share/openmpi ; rm -rf oshcc-wrapper-data.txt )
( cd usr/share/openmpi ; ln -sf shmemcc-wrapper-data.txt oshcc-wrapper-data.txt )
( cd usr/share/openmpi ; rm -rf oshfort-wrapper-data.txt )
( cd usr/share/openmpi ; ln -sf shmemfort-wrapper-data.txt oshfort-wrapper-data.txt )
( cd usr/share/vampirtrace ; rm -rf vtcxx-wrapper-data.txt )
( cd usr/share/vampirtrace ; ln -sf vtc++-wrapper-data.txt vtcxx-wrapper-data.txt )
( cd usr/share/vampirtrace ; rm -rf vtf77-wrapper-data.txt )
( cd usr/share/vampirtrace ; ln -sf vtfort-wrapper-data.txt vtf77-wrapper-data.txt )
( cd usr/share/vampirtrace ; rm -rf vtf90-wrapper-data.txt )
( cd usr/share/vampirtrace ; ln -sf vtfort-wrapper-data.txt vtf90-wrapper-data.txt )
( cd usr/share/vampirtrace ; rm -rf vtCC-wrapper-data.txt )
( cd usr/share/vampirtrace ; ln -sf vtc++-wrapper-data.txt vtCC-wrapper-data.txt )
( cd usr/lib64 ; rm -rf libopen-pal.so.13 )
( cd usr/lib64 ; ln -sf libopen-pal.so.13.0.2 libopen-pal.so.13 )
( cd usr/lib64 ; rm -rf libopen-pal.so )
( cd usr/lib64 ; ln -sf libopen-pal.so.13.0.2 libopen-pal.so )
( cd usr/lib64 ; rm -rf libopen-rte.so.12 )
( cd usr/lib64 ; ln -sf libopen-rte.so.12.0.2 libopen-rte.so.12 )
( cd usr/lib64 ; rm -rf libopen-rte.so )
( cd usr/lib64 ; ln -sf libopen-rte.so.12.0.2 libopen-rte.so )
( cd usr/lib64/pkgconfig ; rm -rf ompi-c.pc )
( cd usr/lib64/pkgconfig ; ln -sf ../openmpi/pkgconfig/ompi-c.pc ompi-c.pc )
( cd usr/lib64/pkgconfig ; rm -rf ompi-cxx.pc )
( cd usr/lib64/pkgconfig ; ln -sf ../openmpi/pkgconfig/ompi-cxx.pc ompi-cxx.pc )
( cd usr/lib64/pkgconfig ; rm -rf ompi-f77.pc )
( cd usr/lib64/pkgconfig ; ln -sf ../openmpi/pkgconfig/ompi-f77.pc ompi-f77.pc )
( cd usr/lib64/pkgconfig ; rm -rf ompi-f90.pc )
( cd usr/lib64/pkgconfig ; ln -sf ../openmpi/pkgconfig/ompi-f90.pc ompi-f90.pc )
( cd usr/lib64/pkgconfig ; rm -rf ompi.pc )
( cd usr/lib64/pkgconfig ; ln -sf ../openmpi/pkgconfig/ompi.pc ompi.pc )
( cd usr/lib64 ; rm -rf libmpi.so.12 )
( cd usr/lib64 ; ln -sf libmpi.so.12.0.2 libmpi.so.12 )
( cd usr/lib64 ; rm -rf libmpi.so )
( cd usr/lib64 ; ln -sf libmpi.so.12.0.2 libmpi.so )
( cd usr/lib64 ; rm -rf libmpi_cxx.so.1 )
( cd usr/lib64 ; ln -sf libmpi_cxx.so.1.1.3 libmpi_cxx.so.1 )
( cd usr/lib64 ; rm -rf libmpi_cxx.so )
( cd usr/lib64 ; ln -sf libmpi_cxx.so.1.1.3 libmpi_cxx.so )
( cd usr/lib64 ; rm -rf libmpi_mpifh.so.12 )
( cd usr/lib64 ; ln -sf libmpi_mpifh.so.12.0.0 libmpi_mpifh.so.12 )
( cd usr/lib64 ; rm -rf libmpi_mpifh.so )
( cd usr/lib64 ; ln -sf libmpi_mpifh.so.12.0.0 libmpi_mpifh.so )
( cd usr/lib64 ; rm -rf libmpi_usempi_ignore_tkr.so.6 )
( cd usr/lib64 ; ln -sf libmpi_usempi_ignore_tkr.so.6.1.0 libmpi_usempi_ignore_tkr.so.6 )
( cd usr/lib64 ; rm -rf libmpi_usempi_ignore_tkr.so )
( cd usr/lib64 ; ln -sf libmpi_usempi_ignore_tkr.so.6.1.0 libmpi_usempi_ignore_tkr.so )
( cd usr/lib64 ; rm -rf libmpi_usempif08.so.11 )
( cd usr/lib64 ; ln -sf libmpi_usempif08.so.11.1.0 libmpi_usempif08.so.11 )
( cd usr/lib64 ; rm -rf libmpi_usempif08.so )
( cd usr/lib64 ; ln -sf libmpi_usempif08.so.11.1.0 libmpi_usempif08.so )
( cd usr/lib64 ; rm -rf libmca_common_sm.so.4 )
( cd usr/lib64 ; ln -sf libmca_common_sm.so.4.0.4 libmca_common_sm.so.4 )
( cd usr/lib64 ; rm -rf libmca_common_sm.so )
( cd usr/lib64 ; ln -sf libmca_common_sm.so.4.0.4 libmca_common_sm.so )
( cd usr/lib64 ; rm -rf libopen-trace-format.so.1 )
( cd usr/lib64 ; ln -sf libopen-trace-format.so.1.0.0 libopen-trace-format.so.1 )
( cd usr/lib64 ; rm -rf libopen-trace-format.so )
( cd usr/lib64 ; ln -sf libopen-trace-format.so.1.0.0 libopen-trace-format.so )
( cd usr/lib64 ; rm -rf libotfaux.so.0 )
( cd usr/lib64 ; ln -sf libotfaux.so.0.0.0 libotfaux.so.0 )
( cd usr/lib64 ; rm -rf libotfaux.so )
( cd usr/lib64 ; ln -sf libotfaux.so.0.0.0 libotfaux.so )
( cd usr/lib64 ; rm -rf libvt.so.0 )
( cd usr/lib64 ; ln -sf libvt.so.0.0.0 libvt.so.0 )
( cd usr/lib64 ; rm -rf libvt.so )
( cd usr/lib64 ; ln -sf libvt.so.0.0.0 libvt.so )
( cd usr/lib64 ; rm -rf libvt-mpi.so.0 )
( cd usr/lib64 ; ln -sf libvt-mpi.so.0.0.0 libvt-mpi.so.0 )
( cd usr/lib64 ; rm -rf libvt-mpi.so )
( cd usr/lib64 ; ln -sf libvt-mpi.so.0.0.0 libvt-mpi.so )
( cd usr/lib64 ; rm -rf libvt-mt.so.0 )
( cd usr/lib64 ; ln -sf libvt-mt.so.0.0.0 libvt-mt.so.0 )
( cd usr/lib64 ; rm -rf libvt-mt.so )
( cd usr/lib64 ; ln -sf libvt-mt.so.0.0.0 libvt-mt.so )
( cd usr/lib64 ; rm -rf libvt-hyb.so.0 )
( cd usr/lib64 ; ln -sf libvt-hyb.so.0.0.0 libvt-hyb.so.0 )
( cd usr/lib64 ; rm -rf libvt-hyb.so )
( cd usr/lib64 ; ln -sf libvt-hyb.so.0.0.0 libvt-hyb.so )
( cd usr/lib64 ; rm -rf libvt-java.so.0 )
( cd usr/lib64 ; ln -sf libvt-java.so.0.0.0 libvt-java.so.0 )
( cd usr/lib64 ; rm -rf libvt-java.so )
( cd usr/lib64 ; ln -sf libvt-java.so.0.0.0 libvt-java.so )
( cd usr/lib64 ; rm -rf libvt-mpi-unify.so.0 )
( cd usr/lib64 ; ln -sf libvt-mpi-unify.so.0.0.0 libvt-mpi-unify.so.0 )
( cd usr/lib64 ; rm -rf libvt-mpi-unify.so )
( cd usr/lib64 ; ln -sf libvt-mpi-unify.so.0.0.0 libvt-mpi-unify.so )
( cd usr/lib64 ; rm -rf libompitrace.so.0 )
( cd usr/lib64 ; ln -sf libompitrace.so.0.0.0 libompitrace.so.0 )
( cd usr/lib64 ; rm -rf libompitrace.so )
( cd usr/lib64 ; ln -sf libompitrace.so.0.0.0 libompitrace.so )
( cd usr/lib64 ; rm -rf liboshmem.so.8 )
( cd usr/lib64 ; ln -sf liboshmem.so.8.1.0 liboshmem.so.8 )
( cd usr/lib64 ; rm -rf liboshmem.so )
( cd usr/lib64 ; ln -sf liboshmem.so.8.1.0 liboshmem.so )
( cd usr/bin ; rm -rf ortecc )
( cd usr/bin ; ln -sf opal_wrapper ortecc )
( cd usr/bin ; rm -rf mpirun )
( cd usr/bin ; ln -sf orterun mpirun )
( cd usr/bin ; rm -rf mpiexec )
( cd usr/bin ; ln -sf orterun mpiexec )
( cd usr/bin ; rm -rf ompi-ps )
( cd usr/bin ; ln -sf orte-ps ompi-ps )
( cd usr/bin ; rm -rf ompi-clean )
( cd usr/bin ; ln -sf orte-clean ompi-clean )
( cd usr/bin ; rm -rf ompi-top )
( cd usr/bin ; ln -sf orte-top ompi-top )
( cd usr/bin ; rm -rf ompi-server )
( cd usr/bin ; ln -sf orte-server ompi-server )
( cd usr/bin ; rm -rf otfdecompress )
( cd usr/bin ; ln -sf otfcompress otfdecompress )
( cd usr/bin ; rm -rf vtfiltergen )
( cd usr/bin ; ln -sf vtfilter vtfiltergen )
( cd usr/bin ; rm -rf vtfiltergen-mpi )
( cd usr/bin ; ln -sf vtfilter-mpi vtfiltergen-mpi )
( cd usr/bin ; rm -rf vtcc )
( cd usr/bin ; ln -sf vtwrapper vtcc )
( cd usr/bin ; rm -rf vtc++ )
( cd usr/bin ; ln -sf vtwrapper vtc++ )
( cd usr/bin ; rm -rf vtcxx )
( cd usr/bin ; ln -sf vtwrapper vtcxx )
( cd usr/bin ; rm -rf vtCC )
( cd usr/bin ; ln -sf vtwrapper vtCC )
( cd usr/bin ; rm -rf vtfort )
( cd usr/bin ; ln -sf vtwrapper vtfort )
( cd usr/bin ; rm -rf vtf77 )
( cd usr/bin ; ln -sf vtwrapper vtf77 )
( cd usr/bin ; rm -rf vtf90 )
( cd usr/bin ; ln -sf vtwrapper vtf90 )
( cd usr/bin ; rm -rf mpicc-vt )
( cd usr/bin ; ln -sf opal_wrapper mpicc-vt )
( cd usr/bin ; rm -rf mpic++-vt )
( cd usr/bin ; ln -sf opal_wrapper mpic++-vt )
( cd usr/bin ; rm -rf mpicxx-vt )
( cd usr/bin ; ln -sf opal_wrapper mpicxx-vt )
( cd usr/bin ; rm -rf mpifort-vt )
( cd usr/bin ; ln -sf opal_wrapper mpifort-vt )
( cd usr/bin ; rm -rf mpif77-vt )
( cd usr/bin ; ln -sf mpifort-vt mpif77-vt )
( cd usr/bin ; rm -rf mpif90-vt )
( cd usr/bin ; ln -sf mpifort-vt mpif90-vt )
( cd usr/bin ; rm -rf mpiCC-vt )
( cd usr/bin ; ln -sf opal_wrapper mpiCC-vt )
( cd usr/bin ; rm -rf mpicc )
( cd usr/bin ; ln -sf opal_wrapper mpicc )
( cd usr/bin ; rm -rf mpic++ )
( cd usr/bin ; ln -sf opal_wrapper mpic++ )
( cd usr/bin ; rm -rf mpicxx )
( cd usr/bin ; ln -sf opal_wrapper mpicxx )
( cd usr/bin ; rm -rf mpifort )
( cd usr/bin ; ln -sf opal_wrapper mpifort )
( cd usr/bin ; rm -rf mpif77 )
( cd usr/bin ; ln -sf opal_wrapper mpif77 )
( cd usr/bin ; rm -rf mpif90 )
( cd usr/bin ; ln -sf opal_wrapper mpif90 )
( cd usr/bin ; rm -rf mpiCC )
( cd usr/bin ; ln -sf opal_wrapper mpiCC )
( cd usr/bin ; rm -rf shmemrun )
( cd usr/bin ; ln -sf mpirun shmemrun )
( cd usr/bin ; rm -rf oshrun )
( cd usr/bin ; ln -sf mpirun oshrun )
( cd usr/bin ; rm -rf shmemcc )
( cd usr/bin ; ln -sf mpicc shmemcc )
( cd usr/bin ; rm -rf oshcc )
( cd usr/bin ; ln -sf mpicc oshcc )
( cd usr/bin ; rm -rf shmemfort )
( cd usr/bin ; ln -sf mpifort shmemfort )
( cd usr/bin ; rm -rf oshfort )
( cd usr/bin ; ln -sf mpifort oshfort )
( cd usr/man/man1 ; rm -rf mpiCC.1.gz )
( cd usr/man/man1 ; ln -sf mpic++.1.gz mpiCC.1.gz )

#Added by slkbuild 1.2
dotnew() {
        NEW="${1}.new"
        OLD="$1"
        if [ ! -e $OLD ]; then
                mv $NEW $OLD
        elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
                rm $NEW
        fi
}
dotnew etc/openmpi-mca-params.conf
dotnew etc/openmpi-default-hostfile
dotnew etc/openmpi-totalview.tcl
dotnew etc/vt-java-default-filter.spec
dotnew etc/vtsetup-config.dtd
dotnew etc/vtsetup-config.xml
