0 votes
asked by (140 points)
commented by (140 points)
I used the packages with the -dev ending for the installation.
I also installed from Ubuntu itself. In both cases I get the same error.
commented by (140 points)
I may have to upgrade my Ubuntu software (now 14.04 LTS)
commented by (52.6k points)
Hi, so I'm not sure where it's supposed to be but those are some common locations. It's good that you found the libblas files, so definitely include the enclosing folder in your -L linker flags (in the options.mk file). But as you can see from the error message, the library that's missing is liblapack. So all I can tell you is please look in the standard install locations for the file liblapack.so If it's not in a standard location then it either means the associated package was not installed (or was somehow damaged) or is not a standard installation in some sense.
commented by (140 points)
It worked. I reinstalled Blas and Lapack using the following command:

sudo apt-get install libblas-dev liblapack-dev

Thanks a lot.
commented by (52.6k points)
Glad it's working and thanks for the follow-up post to let me know. It will be a valuable thread to have here on the forum for others with similar issues -

1 Answer

0 votes
answered by (52.6k points)

Hi, so to install ITensor please follow the steps here:

It's important to install and have available a BLAS/LAPACK distribution. The recommended and best one is Intel MKL (which is now free for academics) but also Ubuntu offers a distribution (lapack-devel package).

Then there are sample programs in the sample/ folder and a project template you can use to write and compile your own code in tutorial/project_template .

More info here:

Welcome to ITensor Support Q&A, where you can ask questions and receive answers from other members of the community.

Formatting Tips:
  • To format code, indent by four spaces
  • To format inline LaTeX, surround it by @@ on both sides
  • To format LaTeX on its own line, surround it by $$ above and below
  • For LaTeX, it may be necessary to backslash-escape underscore characters to obtain proper formatting. So for example writing \sum\_i to represent a sum over i.
If you cannot register due to firewall issues (e.g. you cannot see the capcha box) please email Miles Stoudenmire to ask for an account.

To report ITensor bugs, please use the issue tracker.