cape.pylava.cmdgen: Create commands for LAVA executables

This module provides the function superlava() to generate the command-line call to use the superlava executable. This includes the various aspects of the mpiexec or similar call that might be utilized to run superlava in parallel.

cape.pylava.cmdgen.superlava(opts: OptionsDict | None = None, j: int = 0, **kw)

Interface to LAVACURV binary

Call:
>>> cmdi = superlava(opts, i=0)
>>> cmdi = superlava(**kw)
Inputs:
opts: Options

Options instance, either global or RunControl

j: {0} | int

Phase number

Outputs:
cmdi: list[str]

Command split into a list of strings

Versions:
  • 2024-10-10 @ddalle: v1.0