LightNE icon indicating copy to clipboard operation
LightNE copied to clipboard

Meeting problems in compiling

Open ShawXh opened this issue 3 years ago • 1 comments

Dear authors, I follow the steps:

conda create -n lightne python=3.7 # first create a new python env
conda activate lightne # activate the new created env
conda install mkl -c intel --no-update-deps
conda install mkl-devel

and I have edited the Makefile as

INCLUDE_DIRS = -I../ -I"/data/me/anaconda3/envs/lightne/include"
LINK_DIRS = -L"/data/me/anaconda3/envs/lightne/lib"

and make.

But get

/usr/bin/ld: warning: /data/me/anaconda3/envs/lightne/lib/libstdc++.so: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
/usr/bin/ld: warning: /data/me/anaconda3/envs/lightne/lib/libstdc++.so: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
/usr/bin/ld: warning: /data/me/anaconda3/envs/lightne/lib/libgcc_s.so.1: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
/usr/bin/ld: warning: /data/me/anaconda3/envs/lightne/lib/libgcc_s.so.1: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
/usr/bin/ld: warning: /data/me/anaconda3/envs/lightne/lib/libgcc_s.so.1: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
/usr/bin/ld: warning: /data/me/anaconda3/envs/lightne/lib/libgcc_s.so.1: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
(lightne) me@lab $ ./LightNE 
./LightNE: error while loading shared libraries: libmkl_intel_ilp64.so.2: cannot open shared object file: No such file or directory

my g++ version is 7.0.0

where might the problem be?

ShawXh avatar Sep 12 '22 06:09 ShawXh

The code was compiled and run with g++ 6.5.0 and 5.4.0. Would you mind use another version of g++ to compile the code?

Thanks!

xptree avatar Sep 15 '22 09:09 xptree