Software Archive
Read-only legacy content
17061 Discussions

offloading error during execution of a application

somanath999gmail_com
319 Views

Hiii

During offloading a particular function of a  application on intel Xeon phi, I am facing a problem while running.Plese provide any details what is the reason of this error and How can I resolve it ????

Here is the details of the ERROR

On the sink, dlopen() returned NULL. The result of dlerror() is "/tmp/coi_procs/1/16068/load_lib/cambMIC: undefined symbol: modelparams_mp_grhok_"
On the remote process, dlopen() failed. The error message sent back from the sink is /tmp/coi_procs/1/16068/load_lib/cambMIC: undefined symbol: modelparams_mp_grhok_
offload error: cannot load library to the device 0 (error code 20).

 

0 Kudos
1 Reply
Kevin_D_Intel
Employee
319 Views

The error suggests a reference to module procdure grhok inside offloaded code; however, the routine lacks declaration for such use.

In module modelparams, near the declaration for grhok, try adding the line below and building your app:

!DIR$ ATTRIBUTES OFFLOAD : mic :: grhok

0 Kudos
Reply