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

run_reservoirsimulator should not print a traceback when Eclipse fails #10211

Open
berland opened this issue Mar 5, 2025 · 0 comments
Open

Comments

@berland
Copy link
Contributor

berland commented Mar 5, 2025

run_reservoirsimulator.py errors with a traceback when Eclipse fails. This should be handled better.

Example from logs:

step ECLIPSE100 failed with: 'Process exited with status code 1'
	stderr file: '/scratch/xxxxx/<username>/rmswellpathI4xxxxxxxDEC/realization-46/ECLIPSE100.stderr.27',
	its contents:
Traceback (most recent call last):
  File "/prog/res/komodo/2025.02.08-py311-rhel8/root/lib/python3.11/site-packages/ert/resources/forward_models/run_reservoirsimulator.py", line 441, in <module>
    run_reservoirsimulator(non_empty_args[1:])
  File "/prog/res/komodo/2025.02.08-py311-rhel8/root/lib/python3.11/site-packages/ert/resources/forward_models/run_reservoirsimulator.py", line 414, in run_reservoirsimulator
    ).run_eclipseX00()
      ^^^^^^^^^^^^^^^^
  File "/prog/res/komodo/2025.02.08-py311-rhel8/root/lib/python3.11/site-packages/ert/resources/forward_models/run_reservoirsimulator.py", line 247, in run_eclipseX00
    raise subprocess.CalledProcessError(return_code, self.eclrun_command)
subprocess.CalledProcessError: Command '['/prog/res/ecl/grid/macros/eclrun', 'eclipse', '--version', '2024.3', '/scratch/scratcxxxxxxx/<username>/rmswelxxxxxxxxxxxxxxx/realization-46/eclipse/model/MASTER-46.DATA', '--summary-conversion', 'no']' returned non-zero exit status 255.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant