Hello,
I tried to compile the following program on Intel Xeon Phi with icpc 13.0.1. But I failed to compile it. The error message says "": internal error: backend signals" This message tell me no useful information to solve the problem. Could anyone please give me an advice about how can I solve it. I'm thinking about going to buy new intel compiler. Is it compiled successfully in the latest version, such as Parallel Studio XE 2015 Composer?
#include <stdio.h> #include <stdlib.h> int main(void) { char signal_var; int i =0; for (i=0;i<100;i++) { #pragma offload target(mic:0) signal(&signal_var) { printf("execution on mic\n"); } printf("execution on cpu\n"); #pragma offload_wait wait(&signal_var) target(mic:0) } return 0; } The machine environment is the following Compiler: icpc (ICC) 13.0.1 20121010 OS: CentOS release 6.3 (Final) MPSS version: 2.1.5889-16 Xeon Phi Board SKU: B1PRQ-5110P/5120D