Software Archive
Read-only legacy content
17060 Discussions

Phi application 2013 sp1.4.211 redist bug

Jamil_A_
Beginner
604 Views

 

  Hi 

   I am building an application with composer_xe_2013_sp1.4.211 that targets Xeon Phi on Linux

    I am testing the application with the redistributable libraries from l_ccompxe_2013_sp1.4.211_redist.tgz before sending the application out to customers.

    If I only refer to the shared libraries from the redist tar file I get the following error.

   offload error: target executable is not available

   If I replace liboffload.so.5 from the redist tar file with the version in /opt/intel/composer_xe_2013_sp1.4.211/compiler/lib/intel64/ my application works correctly.

    Is this a known problem?

   Thanks

   Jamil

0 Kudos
4 Replies
Kevin_D_Intel
Employee
604 Views

Hi Jamil - that is not an issue that I am aware has been reported before and I will see whether I can reproduce this. One would expect the versions to be identical.

0 Kudos
Kevin_D_Intel
Employee
604 Views

I cannot induce any failure similar to what you experienced and confirmed the liboffload.so.5 in the CXE 2014 SP1 Update 4 (14.0.4.211) release package is identical to the version in the (14.0.4.211) redist package. I tested on a couple of different MPSS releases also.

What version of MPSS is installed?
What do you mean by

"If I only refer to the shared libraries from the redist tar file I get the following error"

When using the redist package, one should source the appropriate <redist-install-path>bin/compilervars.sh {.csh} script to initialize the user shell environment. Are you using the compiler setup script?

You could also try setting the env-var OFFLOAD_REPORT=3, then re-run your app for the failing case and post the output to see whether that helps us any.

0 Kudos
Jamil_A_
Beginner
604 Views

Hi Kevin

  Given your comment about the files being identical I checked my installation script and found a bug in choosing the redist tar ball that matches the compiler version (I was checking for version 14.0.3 instead of version 14.0.4) .  I am just recompiling but I expect that this will solve the problem.

 Thanks 

 Jamil

0 Kudos
Kevin_D_Intel
Employee
604 Views

Ok, once you confirm that, to ensure my understanding is correct, can you clarify that you compiled the application with 14.0.4 and then ran it on another system using an earlier 14.0.3 redist package and that led to the offload error in your original post?

0 Kudos
Reply