Repository navigation
Conversation
WRF_NAMELIST_OVERRIDES takes Fortran namelist text and sets those values on namelist.input after real.exe has run, so they reach wrf.exe only: real.exe reads the same file on a single rank and cannot set aside the I/O servers that quilting asks for. Those I/O servers come out of the mpirun total, so the default rank count now leaves room for them. MPI_EXTRA_ARGS is passed to wrf.exe's mpirun, for options such as -bind-to core. Both serve the output and rank experiments in #89. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 8, 2026
Author
|
Closing, as the perf testing this was made for is concluded. Results are in #89 . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #88, so that the image for this PR carries the
[om-metrics]instrumentation as well. It's for the experiments in #89.Changes
WRF_NAMELIST_OVERRIDES: Fortran namelist text, applied tonamelist.inputafterreal.exehas run. For example:real.exeso the values reachwrf.exeonly.real.exereads the same file on a single rank and can't set aside I/O servers.mpiruntotal, so the default rank count is nowsafe_mpi_tasks()over the CPUs left, plus the I/O tasks. SettingNCPUSoverrides this as before, and must include the I/O tasks.MPI_EXTRA_ARGS: passed towrf.exe'smpirun, for options such as-bind-to core.With neither variable set, the generated namelist and
run.shbehave exactly as before.Testing
apply_namelist_overrides()andquilt_tasks().make test: 42 passed.run.shfrom the template and ran it against a stubmpirun. With no variables set it gives-np 64 ./wrf.exe; withMPI_EXTRA_ARGS="-bind-to core" NCPUS=32it gives-bind-to core -np 32 ./wrf.exe.🤖 Generated with Claude Code