Closed DinRigtigeFar closed 3 years ago
Thanks for reporting this error. From the stack trace I can see that the error is coming from inside of qpGraph
itself, and that the earlier FileNotFoundError
exception is simply used for control-flow inside qpBrute
.
I've never see this specific error before, but the message seems to indicate that it's a memory exception. Is it possible that you have run out of RAM during the run? If you have a large dataset, then running many models in parallel can result in a high memory load.
What happens if you run the problematic command on its own?
qpGraph -p ParFile_allWarts -g allWart/graphs/allWart-8cace67687b1.graph -d allWart/graphs/allWart-8cace67687b1.dot
If it does turn out to be a memory issue, I would recommend you run a single model to determine the peak memory usage. Once you know how much RAM a single model requires you can divide this into your available RAM and use the --threads
parameter to limit the number of concurrent models.
Thanks for the quick reply. It does seem to be a memory problem. I'll limit the threads and run your awesome program again. Thanks!
@DinRigtigeFar how did you figure out it was a memory problem? I got the same error as you, I ran the qpGraph command that for me was problematic in the log file with the same resources I asked when running qpBrute and it all went smoothly... I don't understand if running this single qpGraph command corresponds to what Evan suggested when he said: "run a single model to determine the peak memory usage."
Hi Evan I'm getting the following error when running my samples:
I've installed qpBrute using conda as you recommend:
conda env create --name qpbrute --file https://raw.githubusercontent.com/ekirving/qpbrute/master/environment.yaml