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 новое
Последнее сообщение
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.
Аватар пользователя 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)

Цитата:

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)

Цитата:

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)

Цитата:

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.

Зарегистрируйтесь, чтобы оставить комментарий.