Comments (4)
@ultimatile
ご報告ありがとうございます。
動作確認の上修正後ご連絡しますので、それまで今しばらくお待ちください。
from hphi.
@ultimatile
リスタート時にメモリ再確保する際の処理について、
三重対角化行列の固有ベクトルのメモリ再確保に漏れがありました。
テストでは偶然通っていたようです。ご指摘大変助かりました。
次のバージョンでは本修正を取り入れる予定ですが、取り急ぎは
Lanczos_EigenValue.cにあるReadTMComponents関数のメモリ再確保部分について、
if(iFlg==0) {
alpha = (double *) realloc(alpha, sizeof(double) * (i_max + X->Def.Lanczos_max + 1));
beta = (double *) realloc(beta, sizeof(double) * (i_max + X->Def.Lanczos_max + 1));
for (i = 0; i < X->Def.nvec + 1; i++) {
vec[i] = (complex double *) realloc(vec[i], (i_max + X->Def.Lanczos_max + 1) * sizeof(complex double));
}
}
else if(iFlg==1){
alpha=(double*)realloc(alpha, sizeof(double)*(i_max + 1));
beta=(double*)realloc(beta, sizeof(double)*(i_max + 1));
for (i = 0; i < X->Def.nvec + 1; i++) {
vec[i] = (complex double *) realloc(vec[i], (i_max + X->Def.Lanczos_max + 1) * sizeof(complex double));
}
}
と変更しvecについてメモリの再確保をするようにした上で、リビルドしてご使用いただけるでしょうか?
お手数ですがよろしくお願いします。
from hphi.
動きました,ありがとうございます.
from hphi.
@ultimatile
こちらこそご報告ありがとうございました!
from hphi.
Related Issues (20)
- Keep Sz non-fixed in Canonical Hubbard HOT 6
- stop at Calculate HilbertNum for fixed Sz HOT 10
- Tutorial for the latest version of HPhi HOT 1
- 富岳でのコンパイル
- Problem with installation HOT 1
- HPhiの古いwebsiteが更新されていない HOT 2
- Process element infoの表示がおかしい?
- `HPhi/samples/tutorial_1.6/MakeDef.py` seems do not read `input.txt` HOT 2
- Problem with non-diagonal interaction in 2-spin mode HOT 3
- tutorial_1.6 fails for hphi 3.5.1 HOT 3
- About installation in Ubuntu system HOT 35
- HPhi: not defined HOT 16
- Issues with trying to run the tutorial 1.6: How to use Expert mode
- Difference between Trans and PairExcitation file HOT 11
- About output of eigenvectors from HPhi
- Choosing different temperature step size for different temperature regimes (cTPQ) HOT 2
- SBiCGの非対角同時計算とLOBPCG/SBiCG/TPQに対する複ベクトル高速化
- Problem in running tutorial_4.3 HOT 2
- Physical units? HOT 2
- read list of inverse temperatures 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 hphi.