Software Archive
Read-only legacy content
17061 Discussions

MPSS upgrade removes opencl mic packages

Scott_S_Intel2
Employee
635 Views

I updated to the latest MPSS installation for RHEL 6.3, and found that OpenCL programs no longer worked. Uninstalling the previous version of MPSS, I executed the following command: sudo yum remove --noplugins --disablerepo=* intel-mic\*. I now realize that the following OpenCL packages were inadvertently removed:

Erasing : opencl-1.2-intel-mic.x86_64      2/12
Erasing : opencl-1.2-intel-mic.x86_64      3/12
Erasing : opencl-1.2-intel-mic.x86_64      4/12

I recommend editing the README installation notes to remove packages named "intel-mic-/*" perhaps.

0 Kudos
2 Replies
TimP
Honored Contributor III
635 Views

MPSS versions have come so fast I have no clue which is latest.  For some of the more recent ones there is an uninstall script which might bear examination on this point.

0 Kudos
BelindaLiviero
Employee
635 Views

Hi Scott, the MPSS team indeed validated this problem:

the command line in the readme file was constructed under the assumption that specifying “intel-mic\*” would match rpms that only START with name intel-mic.  However, it appears that yum is matching ANY rpm with “intel-mic” in the name.  

A simple but effective solution to this problem is to use the following line instead to uninstall any 2.1 based MPSS version without removing other rpms with the “intel-mic” string in them:

 $ sudo rpm -e `rpm -qa | grep ^intel-mic`

I'm asking if any future revs of the 2.1 release readme can be amended with the above command; additionally I was told that the next major release (MPSS 3.1) won't experience this issue.

0 Kudos
Reply