Skip to content

Conversation

@mkundu1
Copy link
Contributor

@mkundu1 mkundu1 commented Nov 14, 2025

Context

What was the situation or problem before this change?

Change Summary

What changes were made?

Rationale

Why was this approach taken?

Impact

What parts of the system or workflows are affected?

@mkundu1 mkundu1 linked an issue Nov 14, 2025 that may be closed by this pull request
@github-actions github-actions bot added the bug Issue, problem or error in PyFluent label Nov 14, 2025
@mkundu1 mkundu1 requested a review from Copilot November 14, 2025 21:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a hang issue in the SLURM launcher by explicitly closing stdout after reading the job ID when stdout is configured to None.

  • Adds conditional logic to close proc.stdout after reading the SLURM job ID
  • Documents the fix in the changelog

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/ansys/fluent/core/launcher/slurm_launcher.py Imports config module and adds conditional stdout closure to prevent hanging
doc/changelog.d/4611.fixed.md Adds changelog entry documenting the fix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue, problem or error in PyFluent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slurm launcher issue with stdout capture

3 participants