New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About STP Aborted #471
Comments
My understanding is that by default Cryptominisat can't use all your computer's RAM, beyond some limit. Compiling it with -DLARGEMEM substantially increases the amount of RAM it can use. Here's some background: My guess is that your computer has enough memory, but Cryptominisat as it's compiled can't use it all. |
Thanks for your reply, I will try this solution. Best wishes to you! |
Hello
""" By the way, I was able to compile it before, but now it errors.... |
You need to build CryptoMiniSat with |
Thank you very much! I think it's OK(CMS) and then build STP. Best wishes to you! |
I'm sorry to bother you again, when I ran a few days later a new problem arose: Looking forward to your reply, thank you! |
hi @msoos, do you know what might cause this error?
|
By the way, may someone knows if can convert SMT model to SAT model? |
Yes, If you use the
you'll get a CNF saved into that folder that you can send to the a SAT solver. Currently we don't have any way of mapping the model that the SAT solver gives you back into a bit-vector model though. |
Thanks for your reply. |
So STP does this internally (e.g., that's how it is able to generate a model on the SMT-level from a solution to the SAT problem), but once you've generated an eager SAT instance to a CNF file, STP has no method to read in that SAT output back in to generate you an SMT model. Also, if you're using the theory of arrays, it won't be possible to generate a purely eager CNF file, as solving the theory of arrays is an iterative process (i.e., it calls the SAT solver in a refinement-style loop).
I don't yet know this is a memory issue; are you able to share your input to STP so we can see what the cause of this issue could be? |
test.zip stp test.smt2 > test.out --threads=5 Maybe this instance is hard to solve(24 hour in 5 threads), some easy instances not Aborted. |
Ah, okay, so it could be a memory issue then, if things take too long. How does your system look before it dies? Close to out of memory? |
The memory usage was not very high(memory is 32G and usage < 50%). |
A quick clarification about this. The --ackermanize flag should eagerly encode array problems. It just might make the CNF encoding very large. Hey, can't have it all.. |
Dear Author:
When I run stp like "./stp test.smt2 > test.out --threads=4".
It aborted and returned the information:
"""
stp: /root/stp/deps/cms/src/watched.h:106: CMSat::Watched::Watched(CMSat::Lit, bool, int32_t): Assertion `ID < 1
LL<< (EFFECTIVELY_USEABLE_BITS-2) && "Please compile with -DLARGEMEM"' failed.
Aborted
"""
Does this error mean that there is not enough memory?
Looking forward to your reply.
Best wishes to you!
The text was updated successfully, but these errors were encountered: