shivupa / polyquant

Multiple quantum particles
MIT License
1 stars 1 forks source link

Weird CI issue #67

Closed shivupa closed 2 years ago

shivupa commented 2 years ago

Sometimes when starting a CI the calculation fails and its odd because the size of the subspace is insanely large.

Timer Eigen::Matrix<double, -1, -1> polyquant::POLYQUANT_DETSET<T>::operator*(const Eigen::Ref<const Eigen::Matrix<double, -1, -1> >&) const [with T = long unsigned int]    0d:0h:0m:26s:19ms:924us:947ns
-----------------------------------------------------------------------------------------------
       Iteration                        :                                0
       Number of converged eigenvalues  :                                0
       Size of subspace                 :                         39539568
       ---------------------------------------------------------------------------------
           Current Eigenvalue             Converged?                   Residue
       ---------------------------------------------------------------------------------
             -14.4833565550              false                       0.1024435707
             -14.4505529839              false                       0.0726317638
             -14.4393569732              false                       0.0447973207
             -14.4393569732              false                       0.0468255327
             -14.2602615728              false                       0.1145575834
-----------------------------------------------------------------------------------------------
Timer Eigen::Matrix<double, -1, -1> polyquant::POLYQUANT_DETSET<T>::operator*(const Eigen::Ref<const Eigen::Matrix<double, -1, -1> >&) const [with T = long unsigned int]    0d:0h:0m:10s:499ms:257us:81ns
THIS IS A POLYQUANTERROR. PLEASE REPORT TO
POLYQUANT MAINTAINERS. ABORT REASON:
CI Calculation did not converge!
shivupa commented 2 years ago

This was an issue of the logging. The memory address of the subspace was being printed rather than the actual size of the subspace.

This can't be reproduced consistently. Closing for now.