Comments (16)
すみません、バグを発見したのでもしかしたらあともう一回ぐらいお願いするかもしれません。。。
from tenes.
@wistaria
遅くなりましてすみません。確認しました。
また、サンプル関連(インストールディレクトリ含む)を追加・修正した v1.1.1 をリリースしましたので、パッケージの更新をしていただけると幸いです。
(急ですみませんが11/10 の昼までにやっていただけると非常に助かります。 apt update && apt upgrade
するので MALIVE! 自体はそのままで大丈夫です)
from tenes.
@yomichi
tenes 1.1.1-1 を作成・アップロードしました。とりあえず走りますが、いくつか問題が、、、
- tarball に ._ で始まるファイルが多量に含まれてます。削除してあります
sample/01_transverse_field_ising/tutorial_example.py
でMPI_cmd = "mpiexec -np 2"
が指定してあるので、malive で走らせるとエラーで落ちます。以下のいずれかの修正が必要です- 仮想マシンに複数コアを割り当てる
-np 1
に修正する- mpiexec に
--oversubscribe
オプションをつける (もちろん非常に遅いです)
from tenes.
@wistaria
MPI_cmd
が動くことをテストしたあとに空文字列に戻すのを忘れていましたorz
すみません、 patch をあてておいてください……
from tenes.
あれ、tarball のドットファイルって例えばどこにありましたか?
from tenes.
全てのファイルに対応するdotファイルがあります(macOSでtarball作ったのでは?)
$ tar ztvf TeNeS-v1.1.1.tar.gz | grep ._
-rwxr-xr-x yomichi/staff 212 2020-11-09 02:46 ._TeNeS-v1.1.1
-rwxr-xr-x yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._misc
-rw-r--r-- yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._CMakeLists.txt
-rw-r--r-- yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._LICENSE
-rwxr-xr-x yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._test
-rwxr-xr-x yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._config
-rwxr-xr-x yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._docs
-rw-r--r-- yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._.gitmodules
-rw-r--r-- yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._README.md
-rw-r--r-- yomichi/staff 291 2020-11-09 02:45 TeNeS-v1.1.1/._TeNeS_ja.pdf
-rw-r--r-- yomichi/staff 1025093 2020-11-09 02:45 TeNeS-v1.1.1/TeNeS_ja.pdf
-rw-r--r-- yomichi/staff 178 2020-11-09 02:45 TeNeS-v1.1.1/._TeNeS_en.pdf
-rw-r--r-- yomichi/staff 3155556 2020-11-09 02:45 TeNeS-v1.1.1/TeNeS_en.pdf
-rw-r--r-- yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._.gitignore
-rwxr-xr-x yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._sample
-rwxr-xr-x yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._deps
-rwxr-xr-x yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._.travis
-rw-r--r-- yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._.travis.yml
-rwxr-xr-x yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._tool
-rwxr-xr-x yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/._src
-rw-r--r-- yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/src/._Square_lattice_CTM.hpp
-rw-r--r-- yomichi/staff 28800 2020-11-09 02:28 TeNeS-v1.1.1/src/Square_lattice_CTM.hpp
-rw-r--r-- yomichi/staff 212 2020-11-09 02:28 TeNeS-v1.1.1/src/._PEPS_Parameters.hpp
...
from tenes.
あれ、自分の環境だと出てこないです。。。 (圧縮も展開も macOS 10.15.7)
読む時にも無視するんですね、差し替えておきます
from tenes.
Linux で作った tarball ファイルに差し替えました。
それはそうと COPYFILE_DIABLE=1
にしておくと ._
ファイルを作らないそうですね
from tenes.
-np 1
に修正したバージョンを作成・アップロードしました。ご確認ください
from tenes.
ありがとうございます。確認しました。
from tenes.
@wistaria
たびたびすみませんが v1.1.2 をリリースしました。
from tenes.
@yomichi
test 10 Kitaev が収束せず、nan 出まくりで fail しますー
Debian 10 (Buster, gcc 8.3)、Debian 9 (Stretch, gcc 6.3)、Ubuntu 20 (Focal, gcc 9.3)、Ubuntu 18 (Bionic, gcc 7.5) 全てダメです
Start 10: Kitaev
10: Test command: /usr/bin/env "python3" "/home/vagrant/build/tenes_1.1.2/obj-x86_64-linux-gnu/test/fulltest.py" "--simple" "Kitaev"
10: Test timeout computed to be: 10000000
10: Number of Processes: 1
10: Number of Threads / Process: 1
10: Tensor type: complex
10: Start simple update
10: 10% [10/100] done
10: 20% [20/100] done
10: 30% [30/100] done
10: 40% [40/100] done
10: 50% [50/100] done
10: 60% [60/100] done
10: 70% [70/100] done
10: 80% [80/100] done
10: 90% [90/100] done
10: 100% [100/100] done
10: Start full update
10: Warning: CTM did not converge! count, sig_max = 100 0.00126494734061
10: warning: Full update iteration was not conveged! count= 100
10: warning: Full update iteration was not conveged! count= 100
10: warning: Full update iteration was not conveged! count= 100
10: warning: Full update iteration was not conveged! count= 100
10: warning: Full update iteration was not conveged! count= 100
10: warning: Full update iteration was not conveged! count= 100
10: warning: Full update iteration was not conveged! count= 100
10: warning: Full update iteration was not conveged! count= 100
10: warning: Full update iteration was not conveged! count= 100
10: warning: Full update iteration was not conveged! count= 100
10: warning: Full update iteration was not conveged! count= 100
10: 100% [1/1] done
10: Start calculating observables
10: Start updating environment
10: Start calculating onesite operators
10: Save onesite observables to output_Kitaev/onesite_obs.dat
10: Start calculating twosite operators
10: Save twosite observables to output_Kitaev/twosite_obs.dat
10: Save observable densities to output_Kitaev/density.dat
10:
10: Onesite observables per site:
10: Sz = -nan -nan
10: Sx = -nan -nan
10: Sy = -nan -nan
10: Twosite observables per site:
10: hamiltonian = nan -nan
10: SzSz = nan -nan
10: SxSx = nan -nan
10: SySy = nan -nan
10: Save elapsed times to output_Kitaev/time.dat
10: Wall times [sec.]:
10: all = 6.566889772
10: simple update = 0.642238467
10: full update = 2.266231405
10: environmnent = 3.600992652
10: observable = 0.055542882
10:
10: Done.
10: density.dat: 0-th data do not match:
10: result: (nan+nanj)
10: reference: (-0.12947194393256503-1.7672527407533474e-07j)
10: density.dat: 1-th data do not match:
10: result: (nan+nanj)
10: reference: (-0.1250225178242928-1.7901403330341827e-07j)
10: density.dat: 2-th data do not match:
10: result: (nan+nanj)
10: reference: (0.12555960850625703+1.7676437721179513e-07j)
10: density.dat: 3-th data do not match:
10: result: (nan+nanj)
10: reference: (-0.13451191242522395-2.0766729488338197e-07j)
10: density.dat: 4-th data do not match:
10: result: (nan+nanj)
10: reference: (0.051603594374491205+9.273525081766459e-08j)
10: density.dat: 5-th data do not match:
10: result: (nan+nanj)
10: reference: (0.06356068813761831+1.29490790797323e-07j)
10: density.dat: 6-th data do not match:
10: result: (nan+nanj)
10: reference: (0.03415401949678585+1.9897719701165007e-08j)
10: onesite_obs.dat: number of entries do not match
10: result: 0
10: reference: 24
10: twosite_obs.dat: 0-th data do not match:
10: result: 0.0 0.0 1.0 0.0 nan nan
10: reference: 0.0 0.0 1.0 0.0 -0.13292002933558034 -1.6510701066115284e-07
10: twosite_obs.dat: 1-th data do not match:
10: result: 0.0 1.0 0.0 1.0 nan nan
10: reference: 0.0 1.0 0.0 1.0 -0.16563594181974164 -2.2329840096197962e-07
10: twosite_obs.dat: 2-th data do not match:
10: result: 0.0 1.0 1.0 0.0 nan nan
10: reference: 0.0 1.0 1.0 0.0 -0.07644374683673759 -1.1060390519481105e-07
10: twosite_obs.dat: 3-th data do not match:
10: result: 0.0 2.0 1.0 0.0 nan nan
10: reference: 0.0 2.0 1.0 0.0 -0.17227982421329818 -2.652265623571261e-07
10: twosite_obs.dat: 4-th data do not match:
10: result: 0.0 3.0 0.0 1.0 nan nan
10: reference: 0.0 3.0 0.0 1.0 -0.0943220110362118 -2.9182568762153765e-07
10: twosite_obs.dat: 5-th data do not match:
10: result: 0.0 3.0 1.0 0.0 nan nan
10: reference: 0.0 3.0 1.0 0.0 0.03136439484341027 3.823777358117872e-08
10: twosite_obs.dat: 6-th data do not match:
10: result: 0.0 4.0 0.0 1.0 nan nan
10: reference: 0.0 4.0 0.0 1.0 -0.062158502841932854 -9.18684901672117e-08
10: twosite_obs.dat: 7-th data do not match:
10: result: 0.0 4.0 1.0 0.0 nan nan
10: reference: 0.0 4.0 1.0 0.0 -0.06493829314769531 -9.99733684019063e-08
10: twosite_obs.dat: 8-th data do not match:
10: result: 0.0 5.0 1.0 0.0 nan nan
10: reference: 0.0 5.0 1.0 0.0 0.013127748690410059 1.60268223827919e-08
10: twosite_obs.dat: 9-th data do not match:
10: result: 0.0 6.0 0.0 1.0 nan nan
10: reference: 0.0 6.0 0.0 1.0 -0.08959380681996913 -1.1201131899190213e-07
10: twosite_obs.dat: 10-th data do not match:
10: result: 0.0 6.0 1.0 0.0 nan nan
10: reference: 0.0 6.0 1.0 0.0 -0.11590286751651169 -1.4396894035329461e-07
10: twosite_obs.dat: 11-th data do not match:
10: result: 0.0 7.0 1.0 0.0 nan nan
10: reference: 0.0 7.0 1.0 0.0 -0.14639241936793354 -2.1171927032010396e-07
10: twosite_obs.dat: 12-th data do not match:
10: result: 1.0 0.0 1.0 0.0 nan nan
10: reference: 1.0 0.0 1.0 0.0 0.014909309033874255 1.8519660204948102e-08
10: twosite_obs.dat: 13-th data do not match:
10: result: 1.0 1.0 0.0 1.0 nan nan
10: reference: 1.0 1.0 0.0 1.0 0.16563594181974162 2.2329840100449366e-07
10: twosite_obs.dat: 14-th data do not match:
10: result: 1.0 1.0 1.0 0.0 nan nan
10: reference: 1.0 1.0 1.0 0.0 0.0918960014219479 1.3298328138398154e-07
10: twosite_obs.dat: 15-th data do not match:
10: result: 1.0 2.0 1.0 0.0 nan nan
10: reference: 1.0 2.0 1.0 0.0 0.05002022507520716 7.70074778167578e-08
10: twosite_obs.dat: 16-th data do not match:
10: result: 1.0 3.0 0.0 1.0 nan nan
10: reference: 1.0 3.0 0.0 1.0 0.09432201103621171 2.9182568761553457e-07
10: twosite_obs.dat: 17-th data do not match:
10: result: 1.0 3.0 1.0 0.0 nan nan
10: reference: 1.0 3.0 1.0 0.0 0.040458387952692534 4.9343656092856726e-08
10: twosite_obs.dat: 18-th data do not match:
10: result: 1.0 4.0 0.0 1.0 nan nan
10: reference: 1.0 4.0 0.0 1.0 0.06215850284193286 9.186849014456616e-08
10: twosite_obs.dat: 19-th data do not match:
10: result: 1.0 4.0 1.0 0.0 nan nan
10: reference: 1.0 4.0 1.0 0.0 -0.00843711309146761 -1.2988775461411585e-08
10: twosite_obs.dat: 20-th data do not match:
10: result: 1.0 5.0 1.0 0.0 nan nan
10: reference: 1.0 5.0 1.0 0.0 -0.052245078794567495 -6.373045734888258e-08
10: twosite_obs.dat: 21-th data do not match:
10: result: 1.0 6.0 0.0 1.0 nan nan
10: reference: 1.0 6.0 0.0 1.0 0.08959380681996898 1.1201131894779728e-07
10: twosite_obs.dat: 22-th data do not match:
10: result: 1.0 6.0 1.0 0.0 nan nan
10: reference: 1.0 6.0 1.0 0.0 -0.08652792776645185 -1.0748083000880685e-07
10: twosite_obs.dat: 23-th data do not match:
10: result: 1.0 7.0 1.0 0.0 nan nan
10: reference: 1.0 7.0 1.0 0.0 -0.048955311353160266 -7.077590385051805e-08
10: twosite_obs.dat: 24-th data do not match:
10: result: 2.0 0.0 1.0 0.0 nan nan
10: reference: 2.0 0.0 1.0 0.0 0.13292002933558025 1.6510701065051935e-07
10: twosite_obs.dat: 25-th data do not match:
10: result: 2.0 1.0 0.0 1.0 nan nan
10: reference: 2.0 1.0 0.0 1.0 0.07518380243701205 1.0110994626677542e-07
10: twosite_obs.dat: 26-th data do not match:
10: result: 2.0 1.0 1.0 0.0 nan nan
10: reference: 2.0 1.0 1.0 0.0 -0.14587848568376138 -2.1068078478389396e-07
10: twosite_obs.dat: 27-th data do not match:
10: result: 2.0 2.0 1.0 0.0 nan nan
10: reference: 2.0 2.0 1.0 0.0 0.1722798242132982 2.6522656239696863e-07
10: twosite_obs.dat: 28-th data do not match:
10: result: 2.0 3.0 0.0 1.0 nan nan
10: reference: 2.0 3.0 0.0 1.0 0.17449523329976158 5.399511355958176e-07
10: twosite_obs.dat: 29-th data do not match:
10: result: 2.0 3.0 1.0 0.0 nan nan
10: reference: 2.0 3.0 1.0 0.0 -0.1161041068261411 -1.4162265272010022e-07
10: twosite_obs.dat: 30-th data do not match:
10: result: 2.0 4.0 0.0 1.0 nan nan
10: reference: 2.0 4.0 0.0 1.0 0.14164519067900233 2.0934776439192307e-07
10: twosite_obs.dat: 31-th data do not match:
10: result: 2.0 4.0 1.0 0.0 nan nan
10: reference: 2.0 4.0 1.0 0.0 -0.044537327022835776 -6.856616173544936e-08
10: twosite_obs.dat: 32-th data do not match:
10: result: 2.0 5.0 1.0 0.0 nan nan
10: reference: 2.0 5.0 1.0 0.0 -0.01312774869041008 -1.6026822409852007e-08
10: twosite_obs.dat: 33-th data do not match:
10: result: 2.0 6.0 0.0 1.0 nan nan
10: reference: 2.0 6.0 0.0 1.0 -0.15826402245007348 -1.9786373523693774e-07
10: twosite_obs.dat: 34-th data do not match:
10: result: 2.0 6.0 1.0 0.0 nan nan
10: reference: 2.0 6.0 1.0 0.0 0.1434806964415802 1.7822479359977083e-07
10: twosite_obs.dat: 35-th data do not match:
10: result: 2.0 7.0 1.0 0.0 nan nan
10: reference: 2.0 7.0 1.0 0.0 0.1463924193679336 2.1171927036304236e-07
10: twosite_obs.dat: 36-th data do not match:
10: result: 3.0 0.0 1.0 0.0 nan nan
10: reference: 3.0 0.0 1.0 0.0 0.006941974942534472 8.622971014169284e-09
10: twosite_obs.dat: 37-th data do not match:
10: result: 3.0 1.0 0.0 1.0 nan nan
10: reference: 3.0 1.0 0.0 1.0 -0.03710522328717785 -4.996336817360378e-08
10: twosite_obs.dat: 38-th data do not match:
10: result: 3.0 1.0 1.0 0.0 nan nan
10: reference: 3.0 1.0 1.0 0.0 0.0764437468367376 1.1060390520991888e-07
10: twosite_obs.dat: 39-th data do not match:
10: result: 3.0 2.0 1.0 0.0 nan nan
10: reference: 3.0 2.0 1.0 0.0 -0.05626311459110747 -8.661924048683646e-08
10: twosite_obs.dat: 40-th data do not match:
10: result: 3.0 3.0 0.0 1.0 nan nan
10: reference: 3.0 3.0 0.0 1.0 -0.11265268434720628 -3.485324428184363e-07
10: twosite_obs.dat: 41-th data do not match:
10: result: 3.0 3.0 1.0 0.0 nan nan
10: reference: 3.0 3.0 1.0 0.0 -0.03136439484341034 -3.8237773575084726e-08
10: twosite_obs.dat: 42-th data do not match:
10: result: 3.0 4.0 0.0 1.0 nan nan
10: reference: 3.0 4.0 0.0 1.0 -0.02216988142925243 -3.2764894913552756e-08
10: twosite_obs.dat: 43-th data do not match:
10: result: 3.0 4.0 1.0 0.0 nan nan
10: reference: 3.0 4.0 1.0 0.0 0.0649382931476953 9.997336841897858e-08
10: twosite_obs.dat: 44-th data do not match:
10: result: 3.0 5.0 1.0 0.0 nan nan
10: reference: 3.0 5.0 1.0 0.0 0.03206152669932946 3.921897069730693e-08
10: twosite_obs.dat: 45-th data do not match:
10: result: 3.0 6.0 0.0 1.0 nan nan
10: reference: 3.0 6.0 0.0 1.0 0.14831781747302755 1.8542879125730023e-07
10: twosite_obs.dat: 46-th data do not match:
10: result: 3.0 6.0 1.0 0.0 nan nan
10: reference: 3.0 6.0 1.0 0.0 0.11590286751651172 1.4396894040456388e-07
10: twosite_obs.dat: 47-th data do not match:
10: result: 3.0 7.0 1.0 0.0 nan nan
10: reference: 3.0 7.0 1.0 0.0 0.08818122785660508 1.2748253057459628e-07
10/10 Test #10: Kitaev ...........................***Failed 8.50 sec
from tenes.
リリース押してしばらくしたあとに気づいてしまいました
シリアルだと有限の値が帰ってくるので、 MPI 並列 = ScaLAPACK でなにか変なのを踏んでいるようです。。。
from tenes.
ちょっと根深い気がしますが、これ以外の部分でバグフィックスを出したい箇所があるので、あんまりよくはないですがtest を一旦外して v1.1.2 を出し直しました。
Travis CI のOSS プロジェクト向け無料リソースが激減したせいか全然ジョブが走らない。。。
from tenes.
@yomichi
修正後の 1.1.2 を元に 1.1.2-1 を作ってアップロートしました。 sudo apt-get update; sudo apt-get -y upgrade
してください (alps が 自動的には upgrade されないのですが、もし alps も upgrade したければ sudo apt-get -y upgrade alps-applications alps-tutorials libalps libalps-bin
してください)
from tenes.
@wistaria
度々ありがとうございます。確認しました。
(ひとまず sudo apt install tenes
で tenes-1.1.2-1 に更新されることだけ確認しました)
from tenes.
Related Issues (20)
- Comment : Intel MKL error
- Installing TeNeS / user-defined model & lattice HOT 7
- Inconsistent results for the magnetization HOT 7
- Non-equilibrium many-body physics HOT 8
- RuntimeError(msg) HOT 7
- TeNeS 1.2.0 does not compile with macOS homebrew + gcc-11 HOT 7
- Next-Nearest-Neighbor interaction HOT 5
- Date of ver.1.2.0 HOT 1
- Initialization as antiferromagnetic state for S=1 HOT 1
- Infinite number of spins HOT 1
- Output.dat is not created HOT 6
- tenes error in running samples HOT 4
- Negative skew does not work (v1.3.3)
- self.s VS self.zs HOT 3
- How can we extract the converged tensors? HOT 5
- Known issues on tutorial (sample) of TeNeS v2.0.0 HOT 3
- What is the network structure connecting the local tensors of the iTPS in TeNeS ? HOT 5
- Temperature and field interval in sample: 03_finite_temperature
- Evaluation of string operator obserbables?
- How to calculate the norm per site of an iTPS ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tenes.