[BUG]: invalid slurm args cause session to hang
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 56/100
Research direction
Start at the pyfluent.launch_fluent entry point and trace how scheduler_options are validated and how the SLURM head node is contacted. Reproduce the hang with the provided call using scheduler_headnode="nonsense"; determine the expected handling of invalid arguments and add a regression test. Done means the call fails or reports the invalid setting promptly instead of hanging.
Written by the indexing model from the issue text.
Description
✅ Before submitting
- I have searched the existing issues and did not find a duplicate.
- I am using a Python virtual environment.
- I have confirmed this is a PyFluent issue, not a problem with Ansys Fluent. See the posting issues guide.
📝 Description of the bug
Using incorrect slurm launch args such as below results in python session hanging;
slurm = pyfluent.launch_fluent(certificates_folder='.', scheduler_options={"scheduler": "slurm", "scheduler_headnode": "nonsense"})
🔁 Steps to reproduce
import ansys.fluent.core as pyfluent
slurm = pyfluent.launch_fluent(certificates_folder='.', scheduler_options={"scheduler": "slurm", "scheduler_headnode": "nonsense"})
🎯 Expected behavior
gracefully hadle wrong args
💥 Actual behavior / traceback
Session hangs
📦 PyFluent version
0.41.2
🌀 Ansys Fluent version
2027 R1 (27.1)
🐍 Python version
3.13
💻 Operating system
Windows
📌 Additional context
No response
- Dominant language
- Python
- Stars
- 550
- Forks
- 86
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 58
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ansys/pyfluent
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
ansys/pyfluent#5515 · 2 reactions ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
[DOC]: DOE_ML: Update the keras model definition to match the supported APIPossibly taken A pull request linked to this issue is open or already merged. Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
[DOC]: Lunar Lander Outdated APIPossibly taken A pull request linked to this issue is open or already merged. Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
Similar issues
-
`gitlab_importer_v2` pipeline failing due to malformed YAML filePossibly taken @Gowri213 claimed this today. Openbug Pipeline: Failure Priority: high
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
aboutcode-org/vulnerablecode#2523 · 1 comment ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
intuitem/ciso-assistant-community#5380 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
confluentinc/cp-ansible#2767 ·
Maintainers usually reply within 3 days
-
bug docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 2 days