Skip to content

Commit 7ad0d6e

Browse files
committed
Added better log
1 parent 438d7a3 commit 7ad0d6e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

contrib/slurm/arrayexecutor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ def init(config, benchmark):
4545
singularity = benchmark.config.singularity
4646

4747
tool_locator = tooladapter.create_tool_locator(config)
48-
benchmark.executable = benchmark.tool.executable(tool_locator)
4948
benchmark.tool.version = version_in_container(singularity, benchmark.tool_module)
49+
benchmark.executable = benchmark.tool.executable(tool_locator)
5050
try:
5151
benchmark.tool_version = benchmark.tool.version(benchmark.executable)
5252
except Exception as e:
@@ -448,7 +448,7 @@ def execute_batch(
448448
run.set_result(result)
449449
output_handler.output_after_run(run)
450450
except Exception as e:
451-
logging.warning("could not set result due to error: %s", e)
451+
logging.warning("could not set result due to error, and won't retry: %s", e)
452452

453453
if len(missing_runs) > 0 and not STOPPED_BY_INTERRUPT:
454454
logging.info(

0 commit comments

Comments
 (0)