Hi Miles,
I've installed ITensor in my computer (Linux-Ubuntu) as well as the Lapack library.
I've tried to compile a program from the ~/itensor/tutorial/01_one_site folder named
one.cc and got the following output:
bonfim@jupiter:~/itensor/tutorial/01_one_site$ make one
g++ -m64 -std=c++11 -fPIC -I. -I/home/local/CAMPUS/bonfim/itensor
-O2 -DNDEBUG -Wall -Wno-unused-variable one.o -o one
-L/home/local/CAMPUS/bonfim/itensor/lib -litensor -lpthread
-L/usr/lib -lblas -llapack
/usr/bin/ld: cannot find -llapack
collect2: error: ld returned 1 exit status
make: *** [one] Error 1
I think I have to include into options.mk in addition to:
## GNU GCC compiler
CCCOM=g++ -m64 -std=c++11 -fPIC
PLATFORM=lapack
BLAS_LAPACK_LIBFLAGS=-lpthread -L/usr/lib -lblas -llapack
the following:
BLAS_LAPACK_LIBFLAGS and BLAS_LAPACK_INCLUDEFLAGS.
However, I cannot find the right path to add to BLAS_LAPACK_LIBFLAGS
and BLAS_LAPACK_INCLUDEFLAGS in my system (Linux-Ubuntu).
The working directory for itensor in my computer is:
bonfim@jupiter:~/itensor$ pwd
/home/local/CAMPUS/bonfim/itensor
I was wandering if you could tell me how to find the correct path to include
into BLAS_LAPACK_LIBFLAGS and BLAS_LAPACK_INCLUDEFLAGS.
Thank you,
Oz