aiida.cmdline.params.options.commands package

Module containing predefined command specific CLI options.

Submodules

Reusable command line interface options for Code commands.

aiida.cmdline.params.options.commands.code.is_not_on_computer(ctx)[source]
aiida.cmdline.params.options.commands.code.is_on_computer(ctx)[source]

Reusable command line interface options for Computer commands.

aiida.cmdline.params.options.commands.computer.should_call_default_mpiprocs_per_machine(ctx)[source]

Return True if the scheduler can accept ‘default_mpiprocs_per_machine’, False otherwise.

If there is a problem in determining the scheduler, return True to avoid exceptions.