⇤ ← Revision 1 as of 2014-11-27 09:49:27
Size: 152
Comment:
|
Size: 1220
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
This page describes how to setup the build host (Ubuntu) for the Xeon Phi. The following guide will install the software stack into your /opt directory. | |
Line 4: | Line 5: |
1. Download the [[https://software.intel.com/en-us/articles/intel-manycore-platform-software-stack-mpss#downloads|Intel MPSS]] archive and extract it. | |
Line 5: | Line 7: |
[[https://software.intel.com/en-us/articles/intel-manycore-platform-software-stack-mpss#downloads|Intel MPSS]]. | 2. Install the required packets to convert the *.rpm into *.deb {{{ $ sudo apt-get install alien dpkg-dev debhelper build-essential }}} 3. Convert the SDK .rpm file into a .deb file {{{ $ sudo sudo alien mpss-sdk-k1om-X.Y.Z.x86_64.rpm }}} 4. Install the SDK {{{ $ sudo dpkg -i mpss-sdk-k1om_3.4.1-2_amd64.deb }}} At this stage you will find the toolchain in /opt/mpss/X.Y.Z. All that's left is to add the location of the compiler to your PATH. This can be done by {{{ $ source /opt/mpss/3.4.1/environment-setup-k1om-mpss-linux }}} or modifying your .bashrc by adding the paths stated in the file above. {{{ export PATH=/opt/mpss/3.4.1/sysroots/x86_64-mpsssdk-linux/usr/bin:/opt/mpss/3.4.1/sysroots/x86_64-mpsssdk-linux/usr/bin/k1om-mpss-linux:$PATH }}} After sourcing you should be able to {{{ $ k1om-mpss-linux-gcc -v }}} |
Xeon Phi: Environment Setup
This page describes how to setup the build host (Ubuntu) for the Xeon Phi. The following guide will install the software stack into your /opt directory.
Download the Intel MPSS archive and extract it.
- Install the required packets to convert the *.rpm into *.deb
$ sudo apt-get install alien dpkg-dev debhelper build-essential
- Convert the SDK .rpm file into a .deb file
$ sudo sudo alien mpss-sdk-k1om-X.Y.Z.x86_64.rpm
- Install the SDK
$ sudo dpkg -i mpss-sdk-k1om_3.4.1-2_amd64.deb
At this stage you will find the toolchain in /opt/mpss/X.Y.Z. All that's left is to add the location of the compiler to your PATH. This can be done by
$ source /opt/mpss/3.4.1/environment-setup-k1om-mpss-linux
or modifying your .bashrc by adding the paths stated in the file above.
export PATH=/opt/mpss/3.4.1/sysroots/x86_64-mpsssdk-linux/usr/bin:/opt/mpss/3.4.1/sysroots/x86_64-mpsssdk-linux/usr/bin/k1om-mpss-linux:$PATH
After sourcing you should be able to
$ k1om-mpss-linux-gcc -v