Skip to content

Commit b2c9424

Browse files
committed
Be explicit about default for mpi_executable
1 parent 104db27 commit b2c9424

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/koopmans/commands.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,10 @@ class CommandConfigs(BaseModel):
372372
fields during the model validators
373373
"""
374374

375-
mpi_executable: str = Field("mpirun", description="MPI executable to use for parallel execution.")
375+
mpi_executable: str = Field(
376+
default="mpirun",
377+
description="MPI executable to use for parallel execution."
378+
)
376379
kcw_ham: KCWHamConfig = Field(
377380
default_factory=lambda: KCWHamConfig(), # type: ignore
378381
description="Configuration for the kcw.x code when running `calculation='ham'`; "

0 commit comments

Comments
 (0)