Software Archive
Read-only legacy content
17061 Discussions

Regarding building a native application for Intel Xeon Phi Coprocessors

dingjun_chencmgl_ca
590 Views

 

I am very interested in building a native application for Intel Xeon Phi Coprocessor. As you know, the embedded Linux operating system runs on the Intel Xeon Phi coprocessors. My question is as follows:

Can I use the Intel Fortran Compiler XE 13.1 for Windows (Intel® Composer XE 2013 for Windows ) to build a native application running on the Intel Xeon Phi Coprocessors? Otherwise, Intel® Composer XE 2013 for Linux  can only be used to build a native application that can be excuted on the Intel Xeon Phi coprocessors.

I look forward to hearing from you. Thanks.

 

 

0 Kudos
4 Replies
Ravi_N_Intel
Employee
590 Views

use -mmic option to build a native application.  All this is documented in the Compiler User Guide.

icc -mmic  nativeapp.c   or ifort -mmic nativeapp.f

 

0 Kudos
dingjun_chencmgl_ca
590 Views

 

Thanks for your reply.  In fact, my concern is that:

Is Intel® Composer XE 2013 for Windows able to build a native application? such a native appliation is able to be excuted on Intel Xeon Phi coprocessors with Linux uOS.  

 

0 Kudos
Ravi_N_Intel
Employee
590 Views

You will need the Windows beta compiler to build a native on Windows.

0 Kudos
Kevin_D_Intel
Employee
590 Views

You may not build a “Windows” application to run natively on the coprocessor because the coprocessor is running Linux.  Whether building a native application on the Linux-host or Windows-host, the native application is always a Linux application.

As Ravi indicates, the Composer XE 2013 SP1 Beta supports building the native coprocessor application on the Windows-host. Refer the following URL for more information about the Windows* Early Enabling now open to the public - http://software.intel.com/en-us/forums/topic/392264

0 Kudos
Reply