Hi,
I run into problems when installing itensor on Linux. Here is the error message after running the make file:
Configure: Writing current dir to this_dir.mk
Building ITensor library
make[1]: Entering directory /home/xz113/itensor/itensor'
Compiling itensor/itdata/dense.cc with optimizations
In file included from /home/xz113/itensor/itensor/indexset.h:10:0,
from /home/xz113/itensor/itensor/itdata/task_types.h:11,
from /home/xz113/itensor/itensor/itdata/dense.h:8,
from itdata/dense.cc:5:
/home/xz113/itensor/itensor/iqindex.h:30:25: error: expected type-specifier
using storage_ptr = std::shared_ptr<IQIndexDat>;
^
/home/xz113/itensor/itensor/iqindex.h:35:5: error: ‘storage_ptr’ does not name a type
storage_ptr pd;
^
/home/xz113/itensor/itensor/iqindex.h:102:5: error: ‘storage_ptr’ does not name a type
storage_ptr const&
^
/home/xz113/itensor/itensor/iqindex.h:118:25: error: expected ‘)’ before ‘const’
IQIndex(storage_ptr const& p,
^
Failure while executing command: g++ -m64 -std=c++11 -fPIC -c -I/home/xz113/itensor -O2 -DNDEBUG -Wall -DPLATFORM_lapack -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -o itdata/dense.o itdata/dense.cc
make[1]: *** [itdata/dense.o] Error 1
make[1]: Leaving directory
/home/xz113/itensor/itensor'
make: *** [itensor] Error 2
Do you have any idea what went wrong?
Thanks,
Xin