[BUG]: invalid slurm args cause session to hang

Aperta
#5,567 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
✅ 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

Lingua principale
Python
Stelle
550
Fork
86
Merge medio
2g 1h
PR unite (30g)
58

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ansys/pyfluent

Tutte le issue di ansys/pyfluent

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.