Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process element infoの表示がおかしい? #126

Open
ultimatile opened this issue Feb 2, 2022 · 0 comments
Open

Process element infoの表示がおかしい? #126

ultimatile opened this issue Feb 2, 2022 · 0 comments

Comments

@ultimatile
Copy link
Contributor

実害はなさそうですが一応報告します.

spin 1/2以外のmodel = "Spin"で, 2Szに粒子数より大きい値を指定した場合, 以下の例で示すように標準出力のProcess element infoにoverflowしたNdownやNelecが表示されます.
unsigned intであるNdownに負の値が入ることでoverflowが発生しているのだと思います.
Nup/Ndownはspin 1/2以外の系では意味のない量なので, どんな値でも良いのかもしれませんがoverflowした値が表示されると驚くので報告しました.

input

model = "Spin"
method = "Lanczos"
lattice = "chain"
L = 3
2S = 2
2Sz = 0

output

以下では2Szを0, 2, 4, 6と変化させた場合の該当箇所の標準出力を示します.

2Sz = 0

  Process element info
    Process       Dimension   Nup  Ndown  Nelec  Total2Sz   State
          0               7     1      1      2         0   

2Sz = 2

  Process element info
    Process       Dimension   Nup  Ndown  Nelec  Total2Sz   State
          0               6     2      0      2         2   

2Sz = 4

  Process element info
    Process       Dimension   Nup  Ndown  Nelec  Total2Sz   State
          0               3     3  2147483647  -2147483646         4   

2Sz = 6

  Process element info
    Process       Dimension   Nup  Ndown  Nelec  Total2Sz   State
          0               1     4  2147483646  -2147483646         6  

version

3.5.0
OpenMP並列で実行しておりMPI並列した場合について未確認です.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant