HI Kai, I totally appreciate that I should not use WCONINJ. I was really just using this as an example.
My question was really about how to track the progress of the DATA file being read and identify when errors arise. I know I'll make other errors and there may be differences between Eclipse and OPM I fail to spot right away. I just wanted to check to see if there is a "verbose" output option that is suppressed by default. I'm guessing there isn't. Regards, Karl -----Original Message----- From: Opm <[email protected]> On Behalf Of Bao Kai Sent: 22 March 2019 11:54 To: [email protected] Subject: [Opm] Fwd: OPM output Hi, Karl, For the keyword WCONINJ, OPM is not supporting it. However, there exists an empty definition of the keyword WCONINJ there, which is why you saw WCONINJ keyword recognized while skipped. I am not aware why it happens to be this way. In short, you should not use keyword WCONINJ with OPM for the moment. Best Regards, Kai Bao On Fri, Mar 22, 2019 at 12:06 PM Stephen, Karl D <[email protected]> wrote: > > Hi, > Thanks for your help with OPM Flow last week. All seems to be well now with > that problem. > > I have a quick question. Is it possible to get more diagnostics from Flow as > the DATA file is parsed? > > For example when running Eclipse, a message appears when the keywords are > recognised (preceded by "READING "). This is useful when identifying errors. > It lets me know where in the file the error has occurred and I can check > there. However, Flow might not produce any output. > > For example, if I use a keyword like WCONINJ instead of WCONINJE, the only > output to screen is the following text: > "Failed to create valid EclipseState object. > Exception caught: PARSE_UNKNOWN_KEYWORD: Keyword INJ not recognised. > terminate called after throwing an instance of 'std::invalid_argument' > what(): PARSE_UNKNOWN_KEYWORD: Keyword INJ not recognised. > Aborted (core dumped)." > > WCONINJ seems to be recognised and skipped but the line of data is then > considered as a possible new keyword. Now I know it's there but there may be > instances in the future when I create a mistake I am not aware of. > > I've looked through the manual for command line parameters that switch > something on but can't see it. It would be a great addition if you don't do > it already. It would just require a write statement as the DATA file is > parsed. > > Regards, > Karl Stephen > ________________________________ > > Heriot-Watt University is The Times & The Sunday Times International > University of the Year 2018 > > Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With > campuses and students across the entire globe we span the world, delivering > innovation and educational excellence in business, engineering, design and > the physical, social and life sciences. This email is generated from the > Heriot-Watt University Group, which includes: > > 1. Heriot-Watt University, a Scottish charity registered under number > SC000278 > 2. Edinburgh Business School a Charity Registered in Scotland, SC026900. > Edinburgh Business School is a company limited by guarantee, registered in > Scotland with registered number SC173556 and registered office at Heriot-Watt > University Finance Office, Riccarton, Currie, Midlothian, EH14 4AS > 3. Heriot- Watt Services Limited (Oriam), Scotland's national performance > centre for sport. Heriot-Watt Services Limited is a private limited company > registered is Scotland with registered number SC271030 and registered office > at Research & Enterprise Services Heriot-Watt University, Riccarton, > Edinburgh, EH14 4AS. > > The contents (including any attachments) are confidential. If you are not the > intended recipient of this e-mail, any disclosure, copying, distribution or > use of its contents is strictly prohibited, and you should please notify the > sender immediately and then delete it (including any attachments) from your > system. > _______________________________________________ > Opm mailing list > [email protected] > https://opm-project.org/cgi-bin/mailman/listinfo/opm _______________________________________________ Opm mailing list [email protected] https://opm-project.org/cgi-bin/mailman/listinfo/opm _______________________________________________ Opm mailing list [email protected] https://opm-project.org/cgi-bin/mailman/listinfo/opm
