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

Reply via email to