Software Archive
Read-only legacy content
17061 Discussions

Using -mmic in cross compilation on RHEL5.2

ed_rosenbloom
Beginner
565 Views

We use an x86_64 RHEL5.2 build platform. Can I build (Recompile the GPL Binaries from Source) the MPSS on this platform, then run my build using -mmic flag during compilation, and produce output that will run on other systems, such as RHEL6.3 or SLES 11 SP2? 

The MPSS doc refers only to RH 6.0 and SLES 11 SP1 and above, but I only need to be able to build on RH5.2, not run the output.

0 Kudos
4 Replies
Frances_R_Intel
Employee
565 Views

The -mmic flag is used only when you wish to produce code which runs on the coprocessor only, not on the host (the system running RHEL or SLES) or a combination of the host and coprocessor. So, I don't think that is relevant to your root question.

If I understand right, you want to build your code on a system without a coprocessor card and with an unsupported operating system, to be run on a system containing a coprocessor card and a supported operating system. You might want to look at http://software.intel.com/en-us/forums/topic/371633 - Build on a machine without a Xeon Phi card? What he was looking at doing was building on a Fedora system without a card for use on a RHEL system with a card.

0 Kudos
Ravi_N_Intel
Employee
565 Views

The binutils in the MPSS required for Linking a program requires RHEL6.0 or greater.  You will not be able to link on a RH5.2 system.

0 Kudos
ed_rosenbloom
Beginner
565 Views

Is this the case even if I build the binutils on my RH5.2 system from the redhat source?

0 Kudos
Ravi_N_Intel
Employee
565 Views

Builing your own binutils for Xeon Phi shoud work

0 Kudos
Reply