-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow pluginsystem to configure general key-value pairs pr forward model step #9036
Comments
I think we allow arbitrary keys (but convention dictates using lowercase) and we expose them as upper-case keys in environment variables.
I think this makes sense, but it should be documented that we will call |
Another corner case is when different plugins set configuration for the same forward model step name. This should in general be allowed. The configuration should probably be merged. Conflicts for keys should result in hard errors since plugin order is arbitrary (effectively). Uniqueness of keys must be handled case-insensitively. |
It must be assessed whether how this feature interacts with |
This will not interact with exec_env, but when merged, it provides forward model step authors with the necessary tools to get rid of using exec_env. |
Some forward model steps require certain configuration parameters to be set. This could be environment variables or PATH prefixes, or any other.
Today, such options can be set through the site-configuration which can add
SETENV
lines to every Ert run, yielding environment variables available when running the forward model.To avoid leaking configuration between unrelated forward models, it should be possible to specify environment variables to specific forward model steps, distinguished by the forward model step name (which might be run repeatedly).
Having this as a hook also enables other parts of Ert to access this information. This is relevant for e.g.
eclrun
validation which queries itself for available versions.Open questions:
str(value)
when exposed through env)The text was updated successfully, but these errors were encountered: