#!/bin/bash

#Description : Intel Omni-Path Fabric software package uninstall script

echo "Uninstalling IntelOPA-Basic.SLES122-x86_64.10.5.1.0.2"

zypper remove \
    gasnet_gcc_hfi-1.28.2-1.x86_64 \
    gasnet_gcc_hfi-tests-1.28.2-1.x86_64 \
    gasnet_gcc_hfi-devel-1.28.2-1.x86_64 \
    hfi1-diagtools-sw-0.8-68.x86_64 \
    hfi1-firmware-0.9-73.noarch \
    hfi1-firmware_debug-0.9-73.noarch \
    hfi1-uefi-0.2-170.x86_64 \
    hfidiags-0.8-68.x86_64 \
    ifs-kernel-updates-kmp-default-4.4.21_69_default_k4.4.21_69-714.x86_64 \
    libpsm2-10.2.235-1.x86_64 \
    libpsm2-compat-10.2.235-1.x86_64 \
    libpsm2-devel-10.2.235-1.x86_64 \
    mpi-selector-1.0.3-1.x86_64 \
    mpitests_mvapich2_gcc-3.2-931.x86_64 \
    mpitests_mvapich2_gcc_hfi-3.2-931.x86_64 \
    mpitests_mvapich2_intel_hfi-3.2-931.x86_64 \
    mpitests_openmpi_gcc-3.2-931.x86_64 \
    mpitests_openmpi_gcc_hfi-3.2-931.x86_64 \
    mpitests_openmpi_intel_hfi-3.2-931.x86_64 \
    mvapich2_gcc-2.2-7.x86_64 \
    mvapich2_gcc_hfi-2.2-7.x86_64 \
    mvapich2_intel_hfi-2.2-7.x86_64 \
    opa-address-resolution-10.5.0.0-140.x86_64 \
    opa-basic-tools-10.5.0.0-140.x86_64 \
    opa-scripts-1.1-1.noarch \
    openmpi_gcc-1.10.4-16.x86_64 \
    openmpi_gcc_hfi-1.10.4-16.x86_64 \
    openmpi_intel_hfi-1.10.4-16.x86_64 \
    openshmem_gcc_hfi-1.3-4.x86_64 \
    openshmem-test-suite_gcc_hfi-1.3-2.x86_64 \
    shmem-benchmarks_gcc_hfi-0.6-34.x86_64

