0 votes
asked by (260 points)

Hello,

I am performing time evolution through fitApplyMPO, however, the process is very slow compared to the DMRG algorithm.
In an attempt to speed up the calculation, I have tried adding compile flags -march=native and -O2 when compiling my own program through CMake, but doing this actually slows down the whole program. The README mentions linking the options.mk file, but I don't know how to achieve this in CMake.
Which flags/setting should I use in my CMakeList in order for my program to utilize ITensor to its fullest?

Note, I have compiled ITensor with Intel MKL.

Thank you!

1 Answer

0 votes
answered by (140 points)

The tensor flow library was not compiled to use SSE instructions.But these are available on your machine and can speed up CPU computations.Tensor flow programs typically run faster in GPU than CPU.So if your system has a NVIDIA GPU and you need to run perfomance critical applications,you should ultimately build and install this version.You can refer write my essay to get a best guidelines and suggestion to write your essays.

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.

Categories

...