Software Archive
Read-only legacy content
告知
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 ディスカッション

micnativeloadex problem

Ted_K_
ビギナー
347件の閲覧回数

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 件の賞賛
1 返信
JJK
新規コントリビューター III
347件の閲覧回数

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/

 

返信