sanshar / Block

Block implements the density matrix renormalization group (DMRG) algorithm for quantum chemistry.
GNU General Public License v3.0
31 stars 33 forks source link

SpinAdapted::TwoElectronArray&]: Assertion `px != 0' failed. #4

Closed robolivares closed 12 years ago

robolivares commented 12 years ago

When returning to previous warmup routine, code crashes with the following error

lock.spin_adapted: /home/ro3/libs/boost/boost_1_50_0_gcc/boost/smart_ptr/shared_ptr.hpp:418: boost::shared_ptr::reference boost::shared_ptr::operator*() const [with T = SpinAdapted::TwoElectronArray, boost::shared_ptr::reference = SpinAdapted::TwoElectronArray&]: Assertion `px != 0' failed.

where SpinAdapted::TwoElectronArray is located on spinblock.C

These changes were done more or less at the same time with the change in the routine, so I suspect they're connected. Any ideas on how to get around this?

robolivares commented 12 years ago

Upon looking further, the code crashes after the second iteration of build_iterators() at SpinBlock::BuildSlaterBlock.

sanshar commented 12 years ago

Hi roberto, Maybe you can send me the input file for which this is failing and I will try to fix it. I am sure I should be able to do it fairly fast and so there is no point for you to spend too much time doing it.

Sandeep.

On Sun, Sep 16, 2012 at 7:26 PM, Roberto Olivares-Amaya < notifications@github.com> wrote:

Upon looking further, the code crashes after the second iteration of build_iterators() at SpinBlock::BuildSlaterBlock.

— Reply to this email directly or view it on GitHubhttps://github.com/sanshar/Block/issues/4#issuecomment-8601540.

sanshar commented 12 years ago

actually as soon as i typed the email i am sure i am pretty confident i can fix this very easily. I am almost sure what the problem might be. So let me look into it tomorrow morning.

Sandeep.

On Sun, Sep 16, 2012 at 7:31 PM, Sandeep Sharma sanshar@gmail.com wrote:

Hi roberto, Maybe you can send me the input file for which this is failing and I will try to fix it. I am sure I should be able to do it fairly fast and so there is no point for you to spend too much time doing it.

Sandeep.

On Sun, Sep 16, 2012 at 7:26 PM, Roberto Olivares-Amaya < notifications@github.com> wrote:

Upon looking further, the code crashes after the second iteration of build_iterators() at SpinBlock::BuildSlaterBlock.

— Reply to this email directly or view it on GitHubhttps://github.com/sanshar/Block/issues/4#issuecomment-8601540.

robolivares commented 12 years ago

Sandeep, Sounds good. The input file is the dmrg.conf in the dmrg_tests/c2_d2h

Cheers,

Roberto

On Sun, Sep 16, 2012 at 7:32 PM, sanshar notifications@github.com wrote:

actually as soon as i typed the email i am sure i am pretty confident i can fix this very easily. I am almost sure what the problem might be. So let me look into it tomorrow morning.

Sandeep.

On Sun, Sep 16, 2012 at 7:31 PM, Sandeep Sharma sanshar@gmail.com wrote:

Hi roberto, Maybe you can send me the input file for which this is failing and I will try to fix it. I am sure I should be able to do it fairly fast and so there is no point for you to spend too much time doing it.

Sandeep.

On Sun, Sep 16, 2012 at 7:26 PM, Roberto Olivares-Amaya < notifications@github.com> wrote:

Upon looking further, the code crashes after the second iteration of build_iterators() at SpinBlock::BuildSlaterBlock.

— Reply to this email directly or view it on GitHub< https://github.com/sanshar/Block/issues/4#issuecomment-8601540>.

— Reply to this email directly or view it on GitHubhttps://github.com/sanshar/Block/issues/4#issuecomment-8601625.