Software Archive
Read-only legacy content
17061 Discussions

offload error: cannot get device 0 handle (error code 2)

Vishal1
Beginner
645 Views

Hi,

      I have written a simulation code that offloads part of the simulation to MIC cards using #pragma offload. We have two MIC cards in our system. After running the simulation, I notice that the MIC cards have to be rebooted before the simulation can be rerun. Otherwise, when attempting to start a second run, I get an error -

offload error: cannot get device 0 handle (error code 2)

The simulation runs just fine after the cards are rebooted. Why is this happening?

0 Kudos
3 Replies
Loc_N_Intel
Employee
645 Views

Hi Vishal,

There is a thread similar to yours, please refer to http://software.intel.com/en-us/forums/topic/386794 . Thank you.

0 Kudos
Vishal1
Beginner
645 Views

I think there is some difference between the situation described in that post and my situation - I'm using both cards and both show as ready.

0 Kudos
Loc_N_Intel
Employee
645 Views

Hi Vishai,

Is it possible that you send your code? Also, what MPSS and compiler versions you are using? Thank you.

0 Kudos
Reply