Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
verveerpj committed Dec 3, 2024
1 parent c67e5f8 commit 99f354a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ert/scheduler/slurm_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ async def _poll_once_by_scontrol(
stderr=asyncio.subprocess.PIPE,
)
stdout, stderr = await process.communicate()
print("*" * 80)
print(stdout.decode(errors="ignore"))
print("*" * 80)
if process.returncode:
logger.error(
f"scontrol gave returncode {process.returncode} with "
Expand All @@ -389,9 +392,6 @@ async def _poll_once_by_scontrol(
return None

info = None
print("*" * 80)
print(stdout.decode(errors="ignore"))
print("*" * 80)
try:
info = _parse_scontrol_output(stdout.decode(errors="ignore"))
except Exception as err:
Expand Down

0 comments on commit 99f354a

Please sign in to comment.