issp-center-dev / TeNeS

Massively parallel tensor network solver
http://www.pasums.issp.u-tokyo.ac.jp/tenes/en
GNU General Public License v3.0
46 stars 11 forks source link

tenes error in running samples #72

Closed HamidArianZad closed 11 months ago

HamidArianZad commented 11 months ago

Dear TeNeS developers,

Recently, I installed new version of TeNeS (v-1.3.3) on my notebook. When I try to run the sample files for example: tutorial_magnetization.py in the TeNeS/sample/05-magnetization folder I get error:

(base) hamid@hamid-ASUS-TUF-Dash-F15-FX517ZM-TUF517ZM:~/TeNeS/sample/05_magnetization$ python tutorial_magnetization.py Calculation Process: 1/21 Steps: 100 tenes: error while loading shared libraries: libmpi.so.12: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/home/hamid/TeNeS/sample/05_magnetization/tutorial_magnetization.py", line 60, in <module> with open(join(output_dir, "density.dat")) as f:

Can you please let me know where is the problem?

I have had previous versions (v-1.2.0 and v-1.3.0) on my notebook they were working normally.

yomichi commented 11 months ago
  1. The message libmpi.so.12: cannot open shared object file says that the MPI library is not found. Did you update MPI since you built tenes?

  2. No such file or directory Traceback (most recent call last): File "/home/hamid/TeNeS/sample/05_magnetization/tutorial_magnetization.py", line 60, in <module> with open(join(output_dir, "density.dat")) as f: says density.dat is not found. This is because tenes fails due to the 1st comment.

HamidArianZad commented 11 months ago

I found that in file CmakeList.txt, versions of cmake is restricted by command line: cmake_minimum_required(VERSION 3.6...3.14). Hence, I used cmake v-3.12.1, and I could successfully install new version of TeNeS on one of my notebook.

yomichi commented 11 months ago

Is this issue solved? If so, please close it.

HamidArianZad commented 11 months ago

Yes, Thanks!