Skip to content

Commit 84abbc3

Browse files
committed
fix: clearer warning message for low MinAge settings
1 parent d189548 commit 84abbc3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

snakemake_executor_plugin_slurm/__init__.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,11 @@ def _validate_status_command_settings(self):
362362
self.logger.warning(
363363
f"MinJobAge is {min_job_age} seconds "
364364
f"(< {dynamic_check_threshold}s). "
365-
f"This may cause 'squeue' to report inaccurate "
366-
"job states and the status_command option may "
367-
"be unreliable. "
365+
f"This may cause 'squeue' to miss recently finished jobs "
366+
"that have been purged from slurmctld, leading to job "
367+
"status queries being impossible with 'squeue'. "
368+
"Consider using 'sacct' instead or let your admini- "
369+
"strator increase MinJobAge. "
368370
"(Threshold is 3x status check interval: 3 x "
369371
f"{initial_interval}s = "
370372
f"{dynamic_check_threshold}s)"

0 commit comments

Comments
 (0)