Skip to content

Add support for serial ngen jobs#301

Merged
robertbartel merged 15 commits intoNOAA-OWP:masterfrom
robertbartel:f/serial_ngen_jobs/isolated
Mar 22, 2023
Merged

Add support for serial ngen jobs#301
robertbartel merged 15 commits intoNOAA-OWP:masterfrom
robertbartel:f/serial_ngen_jobs/isolated

Conversation

@robertbartel
Copy link
Copy Markdown
Contributor

  • Update NGENRequest to support request of either serial or parallel jobs
  • Add support for performing serial NextGen execution to ngen Docker image entrypoint
  • Update Launcher scheduler class to support running serial NextGen jobs
  • Update both dataservice and partitionerservice to handle serial NextGen jobs properly if/when encountered, since these don't need to ever await partitioning

Note that this supersedes #278. It is essentially the same change set rebased onto the current master commit.

Updating Dockerfiles for data-service and py-sources to explicitly use
"latest" tag in FROM statements building off another DMOD internal
Docker image.
- Add properties for whether serial or parallel exec was requested
- Have data requirements and lazy init of partition config itself
  consider whether partition config is necessary, which depends on if
  parallel execution was requested
Updating Launcher class to account for serial ngen execution by not
passing any partitioning config dataset when there is only 1 cpu.
Updating manager logic to have single-cpu (i.e., serial exec) jobs be
moved to AWAITING_ALLOCATION without a partition config being generated
if ever in the AWAITING_PARTITIONING step.
Updating service to move to AWAITING_ALLOCATION step instead of
AWAITING_PARTITIONING step after data checks are successful, if serial
execution is indicated by a job cpu count of 1.
Updating to new dmod.communication (0.11.0) and dmod.scheduler (0.10.0).
@robertbartel robertbartel added enhancement New feature or request maas MaaS Workstream labels Mar 15, 2023
Copy link
Copy Markdown
Member

@aaraney aaraney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@robertbartel robertbartel merged commit e3f3f35 into NOAA-OWP:master Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request maas MaaS Workstream

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants