Quantcast
Channel: Intel® Many Integrated Core Architecture
Viewing all articles
Browse latest Browse all 1347

cannot find offload entry __offload_entry__XXX

$
0
0

Hi,

I'm trying to offload a loop in a fortran program.

!dir$ offload begin target(mic) 

DO j = 1,10

!$omp parallel do

        DO i = 1,10

                c(i,j) = a(i,j) + b(i,j)

        END DO

END DO

!dir$ end offload



There is no function inside the offloaded loop.

It compiles but then when I run the executable I get this error :

offload error: cannot find offload entry __offload_entry_zdfgls_f90_212zdfgls_mp_zdf_gls_ifort9461363648KyrNb

When I look into my zdfgls.o file for symbols, I get :

__offload_entry_zdfgls_f90_212zdfgls_mp_zdf_gls_ifort9461363648KyrNb_$entry

The sole difference is the "_$entry" added at the end of the symbol.

Here is what I obtain in the whole zdfgls.o file :

3:0000000000000000 d .2.13_2__offload_var_desc1_p.117

4:0000000000000880 d .2.13_2__offload_var_desc2_p.122

215:0000000000000000 d __offload_entry_zdfgls_f90_212zdfgls_mp_zdf_gls_ifort9461363648KyrNb_$entry

216:                 U __offload_offload1

217:                 U __offload_target_acquire

Thanks for your help.

Vincent

 


Viewing all articles
Browse latest Browse all 1347

Trending Articles