Repository navigation
Cluster scaling campaign: sbatch scripts, local runs and efficiency tables - #78
Merged
Merged
Conversation
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.
Summary
benchmarks/scaling/: the drivers ofbenchmarks/amrex(B2 3D nodal Poisson, B4 halos and restriction in 2D and 3D, B6 markers) plus a newbench_mhd.py(a step and a regrid of carafe'sMHD2Don three levels), run for strong and weak scaling.campaign.py jobs: one sbatch script per node count, written with slurm-script-generator'sSlurmScript(cluster presets with--cluster, account, partition, QOS, modules, a setup line); the one-node job sweeps 1, 2, 4, ... ranks up to a full node, the others run every case on all their cores. Each run is its ownsrunwith a time limit; its JSON line is labelled (case, scaling, ranks, nodes) and appended to a results file.submit.shsubmits them.campaign.py local: the same commands withmpiexechere,--smallsizes, to check the drivers and the scripts.campaign.py report: Markdown tables of time and parallel efficiency (strongt0 P0 / (t P), weakt0 / t) and peak memory per case.Weak scaling grows the cells per axis by
P^(1/d)and the markers byP.Checked here: all 30 small runs (5 cases, strong and weak, 1, 2 and 4 ranks) pass, B2 with
--backend amg(no PETSc in this container), and the report renders. No production runs: those are for the cluster.bench_mhd.pyneeds carafe withMHD2D(max-models/carafe#81).Checklist
pre-commit runpasses on the new files; the package itself is unchangedbenchmarks/amrex)benchmarks/scaling/README.md