Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Running my first program on Xeon Phi

Chen_S_1
Beginner
618 Views

Hi,

I'm trying to set up my Xeon Phi for the first time,

After seeing that it's actually online using 'service mpss status',

I've copied a 'hello world' F90 program written in Intel Fortran into the Xeon Phi using scp,

and when trying to execute it (after loging in using 'ssh mic0') , I got the error :

/bin/hello_exec: line 1: syntax error: unexpected ")"

What am I missing here? do I have to install Intel Fortran Compiler on the Xeon Phi itself ,

just in order to run a program on it (which was already compiled) ?

Thanks,

Chen


0 Kudos
2 Replies
Kevin_D_Intel
Employee
618 Views

Hi Chen,

You did not compile with the -mmic option to produce a "native" Intel® Xeon Phi™ executable. The error you received occurs when you run a host executable on the Intel® Xeon Phi™ card itself.

0 Kudos
Chen_S_1
Beginner
618 Views

I see.. thank you it worked now !

0 Kudos
Reply