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

Everest queue option server not working with LSF #9037

Closed
12 tasks
yngve-sk opened this issue Oct 24, 2024 · 1 comment · Fixed by #9150
Closed
12 tasks

Everest queue option server not working with LSF #9037

yngve-sk opened this issue Oct 24, 2024 · 1 comment · Fixed by #9150
Assignees
Labels

Comments

@yngve-sk
Copy link
Contributor

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

The simulator.server option does not get mapped to a correct ErtConfig entry. It will only error if accompanied by queue_system: lsf

What did you expect to happen?

For it to get to the point of trying to submit the forward models to the queue, and failing if it does not exist.

steps to reproduce

How to recreate:
Edit test-data/everest/math_func/config_multiobj.yml to have this simulator section:

simulator:
  queue_system: lsf
  cores: 3
  name: mr
  resubmit_limit: 17
  options: span = 1 && select[x86 and GNU/Linux]
  server: lx-fastserver01

Then run the test, see this:

        if errors:
>           raise ConfigValidationError.from_collected(errors)
E           ert.config.parsing.config_errors.ConfigValidationError: Invalid QUEUE_OPTION for LSF: 'LSF_SERVER'. Valid choices are ['BHIST_CMD', 'BJOBS_CMD', 'BKILL_CMD', 'BSUB_CMD', 'EXCLUDE_HOST', 'LSF_QUEUE', 'LSF_RESOURCE', 'MAX_RUNNING', 'PROJECT_CODE', 'SUBMIT_SLEEP'].

This was not triggered before because we did not always try to create an ErtConfig from the config dict, but will occur from trying to parse what should be a valid everest config into an ert config.

Environment where bug has been observed

  • python 3.8
  • python 3.9
  • python 3.10
  • python 3.11
  • python 3.12
  • macosx
  • rhel7
  • rhel8
  • local queue
  • lsf queue
  • slurm queue
  • openPBS queue
@yngve-sk yngve-sk added the bug label Oct 24, 2024
@yngve-sk yngve-sk added this to SCOUT Oct 24, 2024
@yngve-sk yngve-sk moved this to Todo in SCOUT Oct 24, 2024
@yngve-sk yngve-sk changed the title Everest queue option server not working Everest queue option server not working with LSF Oct 24, 2024
@larsevj
Copy link
Contributor

larsevj commented Oct 24, 2024

I believe this keyword was removed from ERT: #8442
So should probably be removed from everest as well?

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