Skip to content

Add support for NCAR's Derecho - #488

Open
fergu wants to merge 5 commits into
llnl:developfrom
fergu:kjf/pbs-support
Open

Add support for NCAR's Derecho#488
fergu wants to merge 5 commits into
llnl:developfrom
fergu:kjf/pbs-support

Conversation

@fergu

@fergu fergu commented Aug 27, 2026

Copy link
Copy Markdown

This commit adds support for Maestro to use the PBS scheduler on NCAR's Derecho, via setting type: pbs_derecho under the batch block. In general, things should be broadly compatible with a generic PBS install, but since this is a Cray system there are a few potential oddities, which I have noted in the Docstring for the class.

As Derecho does support undersubscribing nodes via #PBS -l select=<nnodes>:ncpus=<ncpus>:mpiprocs=<mpiprocs>, this adapter accepts cores per task and reduces mpiprocs from procs per node to procs per node / cores per task, with a check if this would result in mpiprocs * cores per task > procs per node (by, e.g., specifying a cores per task that does not evenly divide procs per node.

For full disclosure, I did use Claude to help develop this, but I have read over the code it created, and have been using these edits myself.

@fergu

fergu commented Aug 27, 2026

Copy link
Copy Markdown
Author

I also did not add a test for this adapter. Looking at the tests directory, it looks like there's an assumption that the scheduler being tested is available in the test environment, and I wasn't sure if the tests should be able to run on Github CI or just on the machine of the person using it. I can add one for PBS if that's preferable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant