INTEL Xeon Phi Linux Debian 6 or Ubuntu 12.04 support

INTEL Xeon Phi Linux Debian 6 or Ubuntu 12.04 support

Michal Kvasnicka's picture

Hi,

the current INTEL Xeon Phi support is restricted only on RedHat (CentOS) and SLES Linux distributions. When will be available support for Debian6 and/or Ubuntu 12.04 LTS? In academic HPC community is penetretaion by commercial Linux distributions very low.

6 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Taylor Kidd (Intel)'s picture

Michal,

The coprocessor has been brought up on many different OSs outside of the officially supported ones. You will need to obtain the sources (available to you) and do some recompiling and perhaps some integration. I believe there is documentation out there on how to do this. In fact, I'm reviewing one such document but it isn't public as yet. Intel doesn't do rigorous testing, etc, for unsupported OSs. It's use at your own risk, but it doesn't mean that it is not possible or will not work.

Here is another thread that may interest you as well: http://software.intel.com/en-us/comment/1724156#comment-1724156

Regards
--
Taylor

 

Frances Roth (Intel)'s picture

In the MPSS release, you will find a src directory containing a file named intel-mic-kmod-<version>.src.rpm that will rebuild the kernel module used in your host Linux. (The files to rebuild the Ganglia and OFED support are in that directory as well.) With the Gold releases, you will also find the version of the gcc compiler that was used to build the officially supported versions of Linux. An rpmbuild --rebuild of that file. might be all you need. Try that first. There is also a directory called gpl containing support commands for the host as well as the full coprocessor environment. The coprocessor commands are independent of your host operating system but you might want to untar and recompile the source in there if you have trouble with the commands in /opt/intel/mic/bin. You can find detailed directions in the Intel® Xeon Phi™ Coprocessor Many-core Platform Software Stack (MPSS) Getting Started Guide (or the read.me files) that came with the MPSS release for rebuilding both the kernel module and the GPL commands.

Jaiber J.'s picture

I could set MPSS successfully in ubuntu 12.10 x64 OS. It required quite a lot of manual intervention as the scripts were written for RHEL or SLES.

Michal Kvasnicka's picture

Quote:

Jaiber J. wrote:

I could set MPSS successfully in ubuntu 12.10 x64 OS. It required quite a lot of manual intervention as the scripts were written for RHEL or SLES.

Could you share with us your modified (Ubuntu 12.10) install script??? My attempts to install MPSS on debian like machines are still not successful.

Jaiber J.'s picture

This link http://www.poempelfox.de/blog/2013/03/06/ should help you install MPSS on Ubuntu 12.04. However, I got it working on 12.10. In addition to the patch you'll find in that URL, there'll be 2 additional errors when compiling the mic driver. One is minor_num in tty_driver struct which is deprecated in the latest kernels (hint: https://lkml.org/lkml/2012/3/5/184) and another is an attribute called 'key' being renamed to '_key' in the latest kernels. Assuming you know how to work with kernel you'll be able to get past them.

Other manual steps:

- The linux-k1om-4.7 directory had to be manually copied to /usr directory. Else there'll be an error something like 'ld cannot convert x64 to klom-x64 architecter.. blah..'

-scif_lib (libscif.so) had to be manually copied to /usr/lib

-The path /etc/sysconfig does not exist in Ubuntu, but micctrl --initconfig expects it, even make install-runtime needs it. That path has to be created.

-The directory /var/lock/subsys does not exist in Ubuntu, so mpssd does not start. This has to be manually created..

-You'll need to create Ubuntu specific entries for mic driver loading, mpssd start in init.d etc..

Other than that, build-essential, doxygen, asciidocs need to be installed. Thats all I have in my notes.

If you have a specific error I can help.

Login to leave a comment.