ReactionMechanismGenerator / RMG-Java

The Java version of RMG: Reaction Mechanism Generator
http://rmg.sourceforge.net/
MIT License
29 stars 36 forks source link

Fame error messages lacking in detail #202

Open rwest opened 13 years ago

rwest commented 13 years ago

I get many instances of this:

Solving PDepNetwork #59 (C2H2O2JJ)
ERROR: jing.rxn.PDepException: Fame output looks like an error occurred.
    at jing.rxn.FastMasterEqn.runPDepCalculation(FastMasterEqn.java:373)
    at jing.rxnSys.ReactionSystem.initializePDepNetwork(ReactionSystem.java:542)
    at jing.rxnSys.ReactionModelGenerator.modelGeneration(ReactionModelGenerator.java:1472)
    at RMG.main(RMG.java:96)

ERROR: Fame output looks like an error occurred.
No cause for this exception! Could be because of insufficient memory,
and not actually a problem with FAME or the input files!! Try pruning.
Troublesome FAME input saved to ./fame/59_input.txt
Troublesome FAME result saved to ./fame/59_output.txt

and the fame output file contains

ERROR: One or more rate coefficients not properly estimated. See fame.log for details.
The message returned was:
Active-state matrix is singular.

Clearly the cause (Active-state matrix is singular.) is known, because it was saved to the output file, and yet the log just has an unhelpful stack trace and a "No cause for this exception! " message.

The whole error handling thing needs reviewing (my recent commit 6d312b69e63551b742b6e2af855510e6690b97a6 may have made it worse not better)

rwest commented 13 years ago

Turns out that these messages were from before commit 6d312b69e63551b742b6e2af855510e6690b97a6 so perhaps it does help after all. I'll try again and see if things are any better.