ansys / ansys/pyfluent

Default for start_timeout is not respected for slurm launcher

Open
#4,628 3 comments 0 reactions 1 assignee Claimed by @mayankansys View on GitHub
bug
Dominant language
Python
Stars
497
Forks
77
Avg merge
22h 37m
Merged PRs (30d)
45

Description

The default for start_timeout is -1 in the SlurmLauncher class, so that client waits indefinitely for Fluent to launch. But, it comes as 60 at runtime within SlurmLauncher. To reproduce outside of the slurm environment:
1. Add a `pdb.set_trace()` or a breakpoint at the beginning of `SlurmLauncher.__init__`.
2. Execute `pyfluent.launch_fluent(scheduler_options={"scheduler": "slurm"})`, see the value of `start_timeout` is 60 in the debugger.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.