Skip to content

Commit 3122b73

Browse files
committed
Fix up the missing mpi_command warning
Printing the cmd_conf directly gives out some weird characters.
1 parent bf8478b commit 3122b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ramble/ramble/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ def _define_commands(
10511051
and int(self.expander.expand_var_name(self.keywords.n_nodes)) > 1
10521052
):
10531053
logger.warn(
1054-
f"Command {cmd_conf} requires a non-empty `mpi_command` "
1054+
f"Command {cmd_conf.name} requires a non-empty `mpi_command` "
10551055
"variable in a multi-node experiment"
10561056
)
10571057
mpi_cmd = " " + raw_mpi_cmd + " "

0 commit comments

Comments
 (0)