Build on a machine without a Xeon Phi card?

Build on a machine without a Xeon Phi card?

TAA (Intel)的头像

It seems that some portion of the MPSS is required for building an application and additional parts are required for the machine to communicate with the card in order to actually use it.  Is there a way to just install the portion of the MPSS package necessary for building on say a Fedora system and then transfer the binary to a system with a Xeon Phi card and the full MPSS?

 

9 帖子 / 0 new
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项.
Frances Roth (Intel)的头像

I've never tried this myself, but -

Support for the Intel Xeon Phi coprocessors is built into the Intel compilers themselves. If you are using the Intel compilers (which will give you the best performance on the coprocessor), that should be all you need to compile. You will get error messages when you try to link the code, because not all the libraries will be there but you should be able to resolve those when you move the code back.

If you need to use the GNU compilers, you can find a cross compiler in the MPSS package, gpl/package-cross-k1om.tar.bz2. 

TAA (Intel)的头像

Quote:

Frances Roth (Intel) wrote:

I've never tried this myself, but -

Support for the Intel Xeon Phi coprocessors is built into the Intel compilers themselves. If you are using the Intel compilers (which will give you the best performance on the coprocessor), that should be all you need to compile. You will get error messages when you try to link the code, because not all the libraries will be there but you should be able to resolve those when you move the code back.

If you need to use the GNU compilers, you can find a cross compiler in the MPSS package, gpl/package-cross-k1om.tar.bz2. 

When I tried a compile (not a link), it said "icc: warning #10362: Environment configuration problem encountered.  Please check for proper MPSS installation and environment setup."  Then "icc: error #10001: could not find directory in which the set of libstdc++ include files resides."

attila.afra的头像

All you need to do is to extract the linux-k1om-4.7 folder from the intel-mic-gpl-*.rpm package into /usr. You might also need the SCIF includes and libs from that package.

TimP (Intel)的头像

If you have registered your license, on https://registrationcenter.intel.com under Cluster Studio for linux, you will find the add-on MPSS package for linking to Intel® Xeon Phi™ for the purpose mentioned at the top of this thread.

TAA (Intel)的头像

Quote:

TimP (Intel) wrote:

If you have registered your license, on https://registrationcenter.intel.com under Cluster Studio for linux, you will find the add-on MPSS package for linking to Intel® Xeon Phi™ for the purpose mentioned at the top of this thread.

Did you mean to suggest that there is some different package other than the regular KNC...tgz ones that just has what you need for compile/link and not the driver for communicating with the card? 

TAA (Intel)的头像

Quote:

attila.afra wrote:

All you need to do is to extract the linux-k1om-4.7 folder from the intel-mic-gpl-*.rpm package into /usr. You might also need the SCIF includes and libs from that package.

I tried it and I can confirm that this approach seems to work.  Thanks!

TimP (Intel)的头像

The components available on registrationcenter ought to be the same as you would extract from the full k10m installation component folder.

kamaxi r.的头像

Good information is provided and You will get error messages when you try to link the code.

登陆并发表评论。