Member Site › Forums › Rosetta 3 › Rosetta 3 – General › error about ‘std::bad_alloc’ during running
- This topic has 4 replies, 2 voices, and was last updated 14 years, 11 months ago by
Anonymous.
-
AuthorPosts
-
-
January 10, 2011 at 5:45 pm #735
Anonymous
Hi,
I just installed rosetta and used a small peptide to see whether rosetta worked properly. But when I run runRosetta3.com in the ‘rosetta’ directory, it aborted at a ‘Stage 4’ sometime later. The following is the screen message,
Stage 4
Folding with score3 for 40000
terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
AbortedHow to fix this problem?
Many thanks!
-
January 11, 2011 at 12:15 am #4813
Anonymous
bad_alloc means something low down in C++ (lower than Rosetta) has gone wrong.
The usual cause is that you ran out of memory, but that doesn’t seem likely for abinitio with a peptide (which is what I think you’re doing).
Perhaps something is wrong with the compilation, and there’s some sort of mismatch between Rosetta and the underlying C++ library? Was this in Windows?
-
January 11, 2011 at 3:14 pm #4814
Anonymous
Hi, yeah, it is a 10-amino acid peptide.
This problem took place on my two computers, one of which is ubuntu and the other one is opensuse.
-
-
January 12, 2011 at 8:39 am #4817
Anonymous
Hi, what is the problem? I use gcc/g++-4.3 in ubuntu10.04 and opensuse13. Many thanks.
-
January 12, 2011 at 7:13 pm #4823
Anonymous
I’d tell you if I knew. I’ve asked several developers and none of us have a clue what would cause that code to throw bad_alloc errors, other than the obvious issue of running out of memory.
Can you test to ensure that it’s not running out of memory? How much is on the machine and how much gets used when it crashes?
Can you run it in debug mode (compile without mode=release) to see precisely what allocation is crashing? This will unfortunately be very, very slow…
-
-
AuthorPosts
- You must be logged in to reply to this topic.
