Software Archive
Read-only legacy content
17061 Discussions

micnativeloadex problem

Ted_K_
Beginner
328 Views

Hello,

I am trying to run a program natively using micnativeloadex but ran into a few problems.

a) I set: export SINK_LD_LIBRARY_PATH=/opt/intel/composer_xe_2015.3.187/compiler/lib/mic/

b) I compiled with: "icpc -mmic -qopenmp -o test_native test_native.cc"

c) micnativeloadex test_native

It seems the SINK_LD_LIBRARY_PATH isn't been set. The result I get is:

The remote process indicated that the following libraries could not be loaded:    libiomp5.so
Error creating remote process, at least one library dependency is missing.
Please check the list of dependencies below to see which
one is missing and update the SINK_LD_LIBRARY_PATH
environment variable to include the missing library.


Dependency information for ./test_native

    Full path was resolved as
    /home/ted_kord/IntelXeonPhi/./test_native

    Binary was built for Intel(R) Xeon Phi(TM) Coprocessor
    (codename: Knights Corner) architecture

    SINK_LD_LIBRARY_PATH =

    Dependencies Found:
        (none found)

    Dependencies Not Found Locally (but may exist already on the coprocessor):
        libm.so.6
        libiomp5.so
        libstdc++.so.6
        libgcc_s.so.1
        libpthread.so.0
        libc.so.6
        libdl.so.2

 

0 Kudos
1 Reply
JJK
New Contributor III
328 Views

Make sure that the Intel compiler libraries are present on the Mic itself (e.g. are mounted using NFS).

Then, using something like this for the SINK_LD_LIBRARY_PATH:

export SINK_LD_LIBRARY_PATH=/opt/intel/composer_xe_2015/lib/mic:/opt/intel/composer_xe_2015/mkl/lib/mic/

 

0 Kudos
Reply