Software Archive
Read-only legacy content
17061 Discussions

Install Manual Change

Eric_B_1
New Contributor I
974 Views

I have had several issue rebuilding the MPSS on Centos 7/RHEL and later here is a proposed change to the manual to fix it.

Problem Symptoms: Are that in section

the command: 

yum install kernel-headers kernel-devel 

Does not install all of the right source and the build will fail.

This command should be used in it's place 

sudo yum install "kernel-devel-uname-r == $(uname -r)"

This will put everything in the right place under 

/lib/moduale/(uname -r)/build (which is a link)

links to 

/usr/src/kernels/(uname -r) <- correct

0 Kudos
7 Replies
Eric_B_1
New Contributor I
974 Views

So in addition if it helps someone the problem seams to come from a previous step

I install the build tools like so

yum groupinstall "Development tools"

Which install the src for kernal-devel-3.10.0-229.14.1.el7.x86_64

 

0 Kudos
Eric_B_1
New Contributor I
974 Views

Another manual nit:

Page 40: Section 3.3.3

Note: If using InfiniBand* as an interconnect, you may also need to recompile the OFED drivers; this is covered in Section 3.3.4

This is not correct as far as i can see. THis is in 

3.6 Installing OFED with Intel® MPSS Support (optional) page 54

0 Kudos
Surya_Narayanan_N_
974 Views

Hi, I did this still I am not able to run smoothly yum install *.rpm. I get the following dependency problems. Have you ever come across this?

 

Packages skipped because of dependency problems:
    glibc2.12pkg-libmicaccesssdk-dev-3.6-1.glibc2.12.x86_64 from /glibc2.12pkg-libmicaccesssdk-dev-3.6-1.glibc2.12.x86_64
    glibc2.12pkg-libodmdebug-dev-3.6-1.glibc2.12.x86_64 from /glibc2.12pkg-libodmdebug-dev-3.6-1.glibc2.12.x86_64
    glibc2.12pkg-libsettings-dev-3.6-1.glibc2.12.x86_64 from /glibc2.12pkg-libsettings-dev-3.6-1.glibc2.12.x86_64
    glibc2.12pkg-mpss-rasmm-kernel-3.6-1.glibc2.12.x86_64 from /glibc2.12pkg-mpss-rasmm-kernel-3.6-1.glibc2.12.x86_64
    mpss-boot-files-3.6-1.glibc2.12.x86_64 from /mpss-boot-files-3.6-1.glibc2.12.x86_64
    mpss-coi-dev-3.6-1.glibc2.12.x86_64 from /mpss-coi-dev-3.6-1.glibc2.12.x86_64
    mpss-coi-staticdev-3.6-1.glibc2.12.x86_64 from /mpss-coi-staticdev-3.6-1.glibc2.12.x86_64
    mpss-core-3.6-1.glibc2.12.x86_64 from /mpss-core-3.6-1.glibc2.12.x86_64
    mpss-daemon-dev-3.6-1.glibc2.12.x86_64 from /mpss-daemon-dev-3.6-1.glibc2.12.x86_64
    mpss-hstreams-dev-3.6-1.glibc2.12.x86_64 from /mpss-hstreams-dev-3.6-1.glibc2.12.x86_64
    mpss-myo-3.6-1.glibc2.12.x86_64 from /mpss-myo-3.6-1.glibc2.12.x86_64
    mpss-offload-3.6-1.glibc2.12.x86_64 from /mpss-offload-3.6-1.glibc2.12.x86_64
    mpss-sysmgmt-micdiagnostic-3.6-1.glibc2.12.x86_64 from /mpss-sysmgmt-micdiagnostic-3.6-1.glibc2.12.x86_64
    mpss-sysmgmt-python-3.6-1.glibc2.12.x86_64 from /mpss-sysmgmt-python-3.6-1.glibc2.12.x86_64

 

0 Kudos
Frances_R_Intel
Employee
974 Views

Eric, I have never had a problem with getting the right kernel development tools but that could be a quirk. Could you elaborate on your comment that the problem seems to be the result of an earlier step? As for the wrong section number for the OFED install, I can put in a documentation bug report. What version of the MPSS are you working with?

Surya, could you tell me what dependencies are missing? Perhaps just capture the output from the install attempt and attach it to a post.

0 Kudos
Eric_B_1
New Contributor I
974 Views

This is what happens if you follow the instructions on a new install of centos 7.1

0 Kudos
Surya_Narayanan_N_
974 Views

is there any solution to get those dependencies corrected?

0 Kudos
Frances_R_Intel
Employee
974 Views

Surya -

There should be no unsatisfied dependencies. When I looked at the required dependencies for glibc2.12pkg-libmicaccesssdk-dev-3.6-1.glibc2.12.x86_64.rpm, rpm told me that it required glibc2.12pkg-libmicaccesssdk0-3.6-1.glibc2.12.x86_64.rpm, which would have installed just before glibc2.12pkg-libmicaccesssdk-dev-3.6-1.glibc2.12.x86_64.rpm using the yum command. So if glibc2.12pkg-libmicaccesssdk0-3.6-1.glibc2.12.x86_64.rpm installed correctly, then glibc2.12pkg-libmicaccesssdk-dev-3.6-1.glibc2.12.x86_64.rpm should have installed correctly.

The command 'yum install *.rpm' would have tried to install glibc2.12pkg-libmicaccesssdk0-3.6-1.glibc2.12.x86_64.rpm before it got to glibc2.12pkg-libmicaccesssdk-dev-3.6-1.glibc2.12.x86_64.rpm. I checked a few others, although not all of the files you listed, and found similar dependencies on earlier files in the directory. So, you should not be getting unsatisfied dependencies.

My suggestion at this point would be - uninstall everything you have installed from the mpss-3.6 directory. If you have an earlier version of the mpss installed, make sure you have uninstalled that as well. Make sure you have the C/C++ libraries installed. Make sure you have copied the right mpss-modules* files from the mpss-3.6/modules directory up into the mpss-3.6 directory, rerun the yum command and capture the output in a file. If there are still problems, attach the file to a new post and I will look at it.

0 Kudos
Reply