Skip to content
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

Expose environment variables with run information in compute nodes #8515

Closed
tnatt opened this issue Aug 20, 2024 · 4 comments · Fixed by #8540
Closed

Expose environment variables with run information in compute nodes #8515

tnatt opened this issue Aug 20, 2024 · 4 comments · Fixed by #8540
Assignees
Labels

Comments

@tnatt
Copy link

tnatt commented Aug 20, 2024

Is your feature request related to a problem? Please describe.
The environment variables

  • _ERT_EXPERIMENT_ID
  • _ERT_REALIZATION_ID
  • _ERT_SIMULATION_MODE

are not available from the compute nodes.

Describe the solution you'd like
I would like the run information to be available also from FORWARD_MODELS running on the compute node (now it is only available for FORWARD_MODELS during ERT test-run's).

Additional context
Feature introduced in #4904
equinor/fmu-dataio#605

@sondreso sondreso added the bug label Aug 20, 2024
@sondreso
Copy link
Collaborator

PR where this was introduced originally: https://github.com/equinor/ert/pull/5127/files

@sondreso
Copy link
Collaborator

Which version of ERT did you test this with? 🙂

@tnatt
Copy link
Author

tnatt commented Aug 20, 2024

Which version of ERT did you test this with? 🙂

I did a test in bleeding today before writing the issue (at least I think I did 😄)..

@DanSava
Copy link
Contributor

DanSava commented Aug 20, 2024

The environment variables

_ERT_EXPERIMENT_ID
_ERT_ENSEMBLE_ID
_ERT_SIMULATION_MODE

They were not designed to be available on the compute node. The feature request #4904 mentioned they should be available on the client. This matches with

it is only available for FORWARD_MODELS during ERT test-run's.

this is because when running the command ert test_run config_file.ert the forward model job will run on the client machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants