Software Archive
Read-only legacy content

internal error: backend signals (when compiling an asynchronous offloading program)

Keitaro_O_
Beginner
374 Views

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

 

 

 

 

 

 

 


 

 

 




 

 

 

 

 

 

 

 

0 Kudos
1 Reply
TaylorIoTKidd
New Contributor I
374 Views

Hi Keitaro,

This is a known issue for version 13 of the compiler. There are a number of articles and threads discussing it.

They discusses recommendations and work arounds. Updating the compiler is probably the best option.

Regards
--
Taylor
 

0 Kudos
Reply