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

Not possible to submit Everserver to lsf #9291

Open
2 of 10 tasks
oyvindeide opened this issue Nov 21, 2024 · 0 comments
Open
2 of 10 tasks

Not possible to submit Everserver to lsf #9291

oyvindeide opened this issue Nov 21, 2024 · 0 comments
Labels

Comments

@oyvindeide
Copy link
Collaborator

oyvindeide commented Nov 21, 2024

What happened? (You can include a screenshot if it helps explain)

A user got a everest server error when tying to run with lsf, the traceback was:

Traceback (most recent call last):
  File "/path/to/root/bin/everserver", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/path/to/root/lib64/python3.11/site-packages/everest/detached/jobs/everserver.py", line 230, in main
    config = EverestConfig.load_file(options.config_file)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/to/root/lib64/python3.11/site-packages/everest/config/everest_config.py", line 729, in load_file
    return EverestConfig.model_validate(config_dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/to/root/lib64/python3.11/site-packages/pydantic/main.py", line 593, in model_validate
    return cls.__pydantic_validator__.validate_python(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/to/root/lib64/python3.11/site-packages/everest/config/everest_config.py", line 294, in validate_forward_model_job_name_installed
    installed_jobs_name += get_system_installed_jobs()  # system jobs
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/to/root/lib64/python3.11/site-packages/everest/config/everest_config.py", line 81, in get_system_installed_jobs
    return list(_dummy_ert_config().installed_forward_model_steps.keys())
                ^^^^^^^^^^^^^^^^^^^
  File "/path/to/root/lib64/python3.11/site-packages/everest/config/everest_config.py", line 73, in _dummy_ert_config
    site_config = ErtConfig.read_site_config()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/to/root/lib64/python3.11/site-packages/ert/config/ert_config.py", line 604, in read_site_config
    read_file(site_config_file),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/to/root/lib64/python3.11/site-packages/ert/config/parsing/lark_parser.py", line 442, in read_file
    with open(file, encoding="utf-8") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpc7as9m8b/site-config'

What did you expect to happen?

No response

steps to reproduce

No steps to reproduce at the moment, but testing a model using lsf will be a good starting point. Experienced with Everest==11.1.2

Environment where bug has been observed

  • python 3.10
  • python 3.11
  • python 3.12
  • macosx
  • rhel7
  • rhel8
  • local queue
  • lsf queue
  • slurm queue
  • openPBS queue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

1 participant