Dear Rossetta developer,
I am trying to use rosetta to do some RNA structural modeling. I just built and installed Rosetta3.1
. Then I followed the instructions at http://www.rosettacommons.org/manuals/archive/rosetta3.1_user_guide/app_... to test the build.
The step of models generation works properly. But when comes to model extraction, the program aborted and I got the following error message:
"rna_extract.linuxgccdebug: src/utility/vectorL.hh:330: typename std::vector::const_reference utility::vectorL<, T, A>::operator[](typename utility::vectorL_IndexSelector<(L >= 0)>::index_type) const [with long int L = 1l, T = double, A = std::allocator]: Assertion `static_cast< size_type >( i - l_ ) < super::size()' failed.
Aborted"
Could you help me figure out what the problem is? Please let me know if any other information is needed to troubleshoot this problem. Thanks!
Cheers,
Wei Huang
The proximate problem is a vector overrun: somewhere in the program, the code has tried to access the N+1th member of an N member vector. More specifically than that I don't know.
You said you were "testing the build" - are you running your own RNA, or running a demo program and encountering this error?
Also, for the purposes of debugging, the debug build you have is correct - for production, you'll want to remember to use mode=release on the compile command line (maybe you already know that).