lume-ace3p¶
lume-ace3p is a set of Python interfaces, written by David Bizzozero and Lila Fowler,
for running ACE3P
electromagnetic simulation workflows — including Cubit
mesh generation and acdtool postprocessing — for parameter sweeps and optimization
problems. It is built on top of lume by
Christopher Mayes and uses Xopt by Ryan Roussel
for optimization.
What lume-ace3p does¶
A user submits a batch script to HPC nodes which calls run_lume_ace3p.py with a
user-defined YAML input file. That input file declares a workflow: — an
ordered list of pipeline modules — plus a mode: describing how to drive
it. The modules are validated into a runnable DAG by their artifact
dependencies, run in order (Cubit meshing, the requested ACE3P solver, acdtool
postprocessing, and/or a Geant4 dose run driven by Track3P particle output), and
the scalars named in output_parameters are written to a tab-delimited results
table or handed to Xopt for optimization.
The three layers — modules (one adapter per step), the declarative
workflow DAG, and the workflow-agnostic modes (single,
parameter_sweep, scalar_optimize, gp_parameter_sweep) — are described in
plans/workflow_module_refactor_plan.md.
To run a parameter sweep or optimization the user typically provides:
a
lume-ace3pinput file (.yaml) with theworkflow:module list,mode:, input/output parameters, and any ACE3P settingsa Cubit journal (
.jou) file (required for remeshing)an acdtool postprocess file (e.g.
.rfpost) with desired postprocessing settings (used for Omega3P)a batch script (
.batch) for submitting the job to HPC resources
ACE3P input parameters can be supplied either as a separate file (.omega3p,
.s3p, …) named on the solver module, or directly inside the lume-ace3p YAML
file via the ace3p: sub-block of input_parameters.
Where to start¶
New here? Read Installation and setup, then walk through a Parameter sweeping.
Configuring inputs? See Setting up workflow input files and the full YAML configuration reference.
Not sure which blocks a given mode needs? See Configuration by mode for the required-vs-optional checklist.
Postprocessing with acdtool? acdtool reference maps its 19 commands and 24
.rfpostblocks to what is implemented here and what is not.Running T3P? T3P reference maps its six
Monitortypes to what each writes and which have real output behind them.Running optimization? See Optimization.
Visualizing output? See Plotting tools.
Hit a snag? Check Troubleshooting.
Looking for class- or function-level docs? Browse the auto-generated API reference.