Installation du Intel Manycore Platform Software Stack sur CentOS 6.4
Rédigé par Nicolas Sulek
Aucun commentaire
Classé dans : Logiciel
Récupération du MPSS pour Redhat 6.4 sur le site d'Intel (en version 3.1 actuellement) :
wget http://registrationcenter.intel.com/irc_nas/3678/mpss-3.1-rhel-6.4.tar
Décompression de l'archive :
tar xf mpss-3.1-rhel-6.4.tar
Le répertoire mpss-3.1 résultant contient un petit paquet de RPM à installer, mais qui nécessitent quelques dépendances :
yum install libXext libICE fontconfig libX11 libXrender freetype libSM
On installe maintenant les RPM d'Intel :
cd ~/mpss-3.1
yum install --nogpgcheck --noplugins --disablerepo=* *.rpm
Après l'installation de ces paquets, il peut arriver que les messages suivants apparaissent lors d'opération avec yum :
** Found 32 pre-existing rpmdb problem(s), 'yum check' output follows:
intel-compilerpro-common-192-13.1-5.noarch has missing requires of lsb >= ('0', '3.0', None)
intel-compilerpro-devel-192-13.1-5.i486 has missing requires of lsb >= ('0', '3.0', None)
intel-compilerpro-devel-192-13.1-5.x86_64 has missing requires of lsb >= ('0', '3.0', None)
intel-compilerpro-vars-192-13.1-5.noarch has missing requires of lsb >= ('0', '3.0', None)
intel-compilerproc-192-13.1-5.i486 has missing requires of lsb >= ('0', '3.0', None)
intel-compilerproc-192-13.1-5.x86_64 has missing requires of lsb >= ('0', '3.0', None)
intel-compilerproc-common-192-13.1-5.noarch has missing requires of lsb >= ('0', '3.0', None)
intel-compilerproc-devel-192-13.1-5.i486 has missing requires of lsb >= ('0', '3.0', None)
intel-compilerproc-devel-192-13.1-5.x86_64 has missing requires of lsb >= ('0', '3.0', None)
intel-idb-192-13.0-5.i486 has missing requires of lsb >= ('0', '3.0', None)
intel-idb-192-13.0-5.x86_64 has missing requires of lsb >= ('0', '3.0', None)
intel-idb-common-192-13.0-5.noarch has missing requires of lsb >= ('0', '3.0', None)
intel-idbcdt-192-13.0-5.noarch has missing requires of lsb >= ('0', '3.0', None)
intel-ipp-192-7.1-1.i486 has missing requires of lsb >= ('0', '3.0', None)
intel-ipp-192-7.1-1.x86_64 has missing requires of lsb >= ('0', '3.0', None)
intel-ipp-common-192-7.1-1.noarch has missing requires of lsb >= ('0', '3.0', None)
intel-ipp-devel-192-7.1-1.i486 has missing requires of lsb >= ('0', '3.0', None)
intel-ipp-devel-192-7.1-1.x86_64 has missing requires of lsb >= ('0', '3.0', None)
intel-mkl-192-11.0-5.i486 has missing requires of lsb >= ('0', '3.0', None)
intel-mkl-192-11.0-5.x86_64 has missing requires of lsb >= ('0', '3.0', None)
intel-mkl-common-192-11.0-5.noarch has missing requires of lsb >= ('0', '3.0', None)
intel-mkl-devel-192-11.0-5.i486 has missing requires of lsb >= ('0', '3.0', None)
intel-mkl-devel-192-11.0-5.x86_64 has missing requires of lsb >= ('0', '3.0', None)
intel-openmp-192-13.1-5.i486 has missing requires of lsb >= ('0', '3.0', None)
intel-openmp-192-13.1-5.x86_64 has missing requires of lsb >= ('0', '3.0', None)
intel-openmp-devel-192-13.1-5.i486 has missing requires of lsb >= ('0', '3.0', None)
intel-openmp-devel-192-13.1-5.x86_64 has missing requires of lsb >= ('0', '3.0', None)
intel-sourcechecker-common-192-13.1-5.noarch has missing requires of lsb >= ('0', '3.0', None)
intel-sourcechecker-devel-192-13.1-5.i486 has missing requires of lsb >= ('0', '3.0', None)
intel-sourcechecker-devel-192-13.1-5.x86_64 has missing requires of lsb >= ('0', '3.0', None)
intel-tbb-192-4.1-4.noarch has missing requires of lsb >= ('0', '3.0', None)
intel-tbb-devel-192-4.1-4.noarch has missing requires of lsb >= ('0', '3.0', None)
Pour résoudre ce problème, il faut installer le paquet redhat-lsb :
yum install redhat-lsb
Si on utilise un noyau mis à jour et non le stock kernel de la CentOS 6.4, il va falloir recompiler le module mic.ko fourni par Intel. Heureusement, un src.rpm est disponible.
yum install gcc kernel-headers kernel-devel rpm-build
cd ~/mpss-3.1/src
rpmbuild --rebuild mpss-modules-3.1-0.1.build0.el6.src.rpm
On supprime l'ancien paquet et on installe le nouveau.
yum remove mpss-modules
yum install ~/rpmbuild/RPMS/x86_64/mpss-modules-2.6.32-358.23.2.el6.x86_64-3.1-0.1.build0.el6.x86_64.rpm
Voilà nos cartes Xeon Phi sont reconnues et presque utilisables, il ne reste plus qu'à les configurer.