当我编译mxnet时,它说
/usr/bin/ld: cannot find -liomp5
然后我尝试
ld -liomp5
ld: cannot find -liomp5
但是ld -Lpathlibiomp5 -liomp5说“ld: warning: cannot find entry symbol _start; not setting start address"
我设置了以下环境变量,但它们根本不起作用?谁知道为什么?
echo $ LD_LIBRARY_PATH
/home/hpc/pr74ze/ru37wof2/local_software/mxnet/mklml_lnx_2017.0.2.20170209/lib:/lrz/sys/intel/studio2017_u2/compilers_and_libraries_2017.2.174/linux/mkl/lib/intel64_lin:/home/hpc/pr74ze/ru37wof2/local_software/mx
net/mklml_lnx_2017.0.2.20170209/lib:/lrz/sys/intel/studio2017_u2/compilers_and_libraries_2017.2.174/linux/mkl/lib/intel64_lin:/home/hpc/pr74ze/ru37wof2/local_software/mxnet/mklml_lnx_2017.0.2.20170209/lib:/lrz/sy
s/intel/studio2017_u2/compilers_and_libraries_2017.2.174/linux/mkl/lib/intel64_lin:/home/hpc/pr74ze/ru37wof2/local_software/mxnet/mklml_lnx_2017.0.2.20170209/lib:/lrz/sys/intel/studio2017_u2/compilers_and_librari
es_2017.2.174/linux/mkl/lib/intel64_lin
echo $ LD_LIBRARY_PATH
/lrz/sys/compilers/gcc/6.3/lib64:/lrz/sys/compilers/gcc/6.3/lib:/home/hpc/pr74ze/ru37wof2/local_software/mxnet/mklml_lnx_2017.0.2.20170209/lib:/lrz/sys/intel/studio2017_u2/compilers_and_libraries_2017.2.174/linux
/mkl/lib/mic:/lrz/sys/intel/studio2017_u2/compilers_and_libraries_2017.2.174/linux/mkl/lib/intel64:/usr/lib64:/lrz/mnt/sys.x86_64/compilers/java/jdk1.7.0_51/jre/lib/amd64/server:/home/hpc/pr74ze/ru37wof2/local_so
ftware/mxnet/mklml_lnx_2017.0.2.20170209/lib:/lrz/sys/intel/studio2017_u2/compilers_and_libraries_2017.2.174/linux/mkl/lib/mic:/lrz/sys/intel/studio2017_u2/compilers_and_libraries_2017.2.174/linux/mkl/lib/intel64
:/usr/lib64:/lrz/mnt/sys.x86_64/compilers/java/jdk1.7.0_51/jre/lib/amd64/server:/home/hpc/pr74ze/ru37wof2/local_software/mxnet/mklml_lnx_2017.0.2.20170209/lib:/lrz/sys/intel/studio2017_u2/compilers_and_libraries_
2017.2.174/linux/mkl/lib/mic:/lrz/sys/intel/studio2017_u2/compilers_and_libraries_2017.2.174/linux/mkl/lib/intel64:/usr/lib64:/lrz/mnt/sys.x86_64/compilers/java/jdk1.7.0_51/jre/lib/amd64/server:/home/hpc/pr74ze/r
u37wof2/local_software/mxnet/mklml_lnx_2017.0.2.20170209/lib:/lrz/sys/intel/studio2017_u2/compilers_and_libraries_2017.2.174/linux/mkl/lib/mic:/lrz/sys/intel/studio2017_u2/compilers_and_libraries_2017.2.174/linux
/mkl/lib/intel64:/usr/lib64:/lrz/mnt/sys.x86_64/compilers/java/jdk1.7.0_51/jre/lib/amd64/server:/usr/lib64:/lrz/mnt/sys.x86_64/compilers/java/jdk1.7.0_51/jre/lib/amd64/server:/lrz/sys/applications/R/3.2_shared_MK
L/lib/R/lib:/lrz/sys/intel/impi/5.1.3.181/lib64:/lrz/sys/intel/studio2016_u4/debugger_2016/libipt/intel64/lib:/lrz/sys/intel/studio2016_u4/compilers_and_libraries_2016.4.258/linux/compiler/lib/intel64:/home/hpc/p
r74ze/ru37wof2/programs/libevent/lib:/home/hpc/pr74ze/ru37wof2/programs/libevent/lib$:/home/hpc/pr74ze/ru37wof2/programs/libevent/lib$:/home/hpc/pr74ze/ru37wof2/programs/libevent/lib$:/home/hpc/pr74ze/ru37wof2/pr
ograms/libevent/lib
如何解决此编译问题?