[Opm] GECON equivalent.

Stephen, Karl D K.D.Stephen at hw.ac.uk
Thu Apr 9 16:00:26 UTC 2020


Thanks Joakim, that would be a great addition.

Regards,
Karl

-----Original Message-----
From: Opm <opm-bounces at opm-project.org> On Behalf Of Joakim Hove
Sent: 08 April 2020 21:29
To: opm at opm-project.org
Subject: Re: [Opm] GECON equivalent.

> I am guessing that the END overrides the ACTIONX opener for the command and ENDACTIO is not found.

Yes you are right; the END keyword is detected during basic parsing and the whole parsing stops prematurely.

  > Is there any way to stop the run in this case (conditionally).

No not yet. But:

 1. The use case you describe seems a quite natural one, and not too
    much work to support. I hope to make the necessary changes in time
    for the 2020.04 release. IN the case the simulation is terminated in
    this way - should it be with exit(0) - success or exit(1) - failure.
    I guess this relevant in the situation the flow is part of a larger
    workflow for e.g. history matching which might check the exit
    status. We could also add a opm-only keyword - e.g. EXIT which
    actually allows you to specify the status.
 2. We are close to merge PYACTION which is a new keyword which will
    enable action keywords written in Python; that will probably not
    make the release though.

Joakim

_______________________________________________
Opm mailing list
Opm at opm-project.org
https://opm-project.org/cgi-bin/mailman/listinfo/opm
________________________________

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.  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.


More information about the Opm mailing list