Closed kohei-noda-qcrg closed 7 months ago
結論
インプットの中身
noda@relqc01 ~/test/dirac/privec/dirac19
$ cat H2O/H2O.inp
**DIRAC
.TITLE
H2O
.WAVE FUNCTION
.ANALYZE
**HAMILTONIAN
.DOSSSS
**WAVE FUNCTIONS
.SCF
**ANALYZE
.PRIVEC
**MOLECULE
*BASIS
.DEFAULT
6-31G
*END OF
インプットの差
noda@relqc01 ~/test/dirac/privec/dirac19
$ diff F2/F2.inp H2O/H2O.inp
3c3
< F2
---
> H2O
H2OのPRIVEC付近
noda@relqc01 ~/test/dirac/privec/dirac19
$ grep -A 15 "\*\* Vector print" H2O/H2O_H2O.out
****************************** Vector print ******************************
**************************************************************************
Fermion ircop E1
----------------
F2のPRIVEC付近
Vector print に何も出ない
noda@relqc01 ~/test/dirac/privec/dirac19
$ grep -A 15 "\*\* Vector print" F2/F2_F2.out
****************************** Vector print ******************************
**************************************************************************
Coefficients from DFCOEF
------------------------
** E N D of D I R A C output **
Date and time (Linux) : Fri Mar 1 23:05:01 2024
現時点のDIRAC最新コミット https://gitlab.com/dirac/dirac/-/tree/76204c28f3622253d4444d8b16d991b1edb2092b で試してもHDF5 CheckpointファイルからVector printを出力しようとする動作以外は同じ傾向
等核二原子分子と原子だと出ない?
DIRAC側のバグの可能性が出てきたので、DIRACのソースコードを調査予定
仮にDIRAC側のバグだとしても、インプットによってはエラーが発生する場合があるので、その対処は必要
CALL TITLER('Vector print','*',130) のようなsubroutineがDIRACにはあり、DIRACの各機能が始まるときにこのサブルーチンを呼んでいるようなので
PRIVECを読もうとしているのに ****** **** Vector print * ******
のようなセクション、つまり.PRIVECのデータを読むコードが始まった後に*しかない行が見つかったら .PRIVECのデータが空であることが分かる
https://github.com/RQC-HU/sum_dirac_dfcoef/issues/91#issuecomment-1973304319
について、実際にDIRACのバグであることが判明したので
issueを https://gitlab.com/dirac/dirac/-/issues/92 に、merge requestを https://gitlab.com/dirac/dirac/-/merge_requests/165 に作成した。マージされればDIRAC25でこのDIRACのバグは解消されるはず。