Hi,
I am rather ignorant in cmake. I followed the instructions from the ITensor website and tried to compile the library first, and got this message:
Configure: Writing current dir to this_dir.mk
Building ITensor library
make[1]: Entering directory '/home/tianqic/ITensor/itensor'
Building static library /home/tianqic/ITensor/lib/libitensor-g.a
make[1]: Leaving directory '/home/tianqic/ITensor/itensor'
Presumably I believe ITensor has been successfully compiled? Then I got to samples folder and tried to make them but I got this:
g++ -m64 -std=c++17 -fconcepts -fPIC -c -I. -I'/home/tianqic/ITensor' -I/opt/intel/mkl/include -I/usr/lib64/include -DITENSORUSEHDF5 -O2 -DNDEBUG -Wall -Wno-unknown-pragmas -o dmrg.o dmrg.cc
g++ -m64 -std=c++17 -fconcepts -fPIC -I. -I'/home/tianqic/ITensor' -I/opt/intel/mkl/include -I/usr/lib64/include -DITENSORUSEHDF5 -O2 -DNDEBUG -Wall -Wno-unknown-pragmas dmrg.o -o dmrg -L'/home/tianqic/ITensor/lib' -litensor -L/opt/intel/compilersandlibraries2020.0.166/linux/compiler/lib/intel64 -lmklintellp64 -lmklintelthread -lmklrt -lmklcore -liomp5 -lpthread -L/usr/lib64/lib -lhdf5 -lhdf5hl
/usr/bin/ld: cannot find -lmklintellp64
/usr/bin/ld: cannot find -lmklintelthread
/usr/bin/ld: cannot find -lmklrt
/usr/bin/ld: cannot find -lmklcore
collect2: error: ld returned 1 exit status
make: *** [Makefile:29: dmrg] Error 1
Could anyone help me with this issue? Kind of clueless now. Thank you!
Best,
Tianqi