Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Slurm options in launch_fluent #2269

Merged
merged 12 commits into from
Dec 11, 2023
Merged

Support Slurm options in launch_fluent #2269

merged 12 commits into from
Dec 11, 2023

Conversation

mkundu1
Copy link
Contributor

@mkundu1 mkundu1 commented Nov 21, 2023

>>> slurm = pyfluent.launch_fluent(scheduler_options={"scheduler": "slurm"})
>>> slurm
<ansys.fluent.core.launcher.launcher.SlurmFuture object at 0x2b9238af63b0>
>>> slurm.pending(), slurm.running(), slurm.done()
(True, False, False)  # before Fluent is launched
>>>  slurm.pending(), slurm.running(), slurm.done()
(False, True, False) # after Fluent is launched
>>> session = slurm.result()
>>> session.exit()
>>> slurm.pending(), slurm.running(), slurm.done()
(False, False, True)

@mkundu1 mkundu1 linked an issue Nov 22, 2023 that may be closed by this pull request
@mkundu1 mkundu1 changed the title Adding the initial mechanism to support Slurm option Support Slurm options in launch_fluent Nov 22, 2023
@mkundu1 mkundu1 marked this pull request as ready for review November 22, 2023 04:56
@seanpearsonuk
Copy link
Collaborator

@mkundu1 We just need to be aware if there are potential conflicts with @hpohekar's branch.

@hpohekar

This comment was marked as resolved.

@mkundu1

This comment was marked as resolved.

@hpohekar

This comment was marked as resolved.

@mkundu1 mkundu1 force-pushed the feat/slurm branch 2 times, most recently from 5813e82 to 3e55ad9 Compare December 4, 2023 01:54
@seanpearsonuk
Copy link
Collaborator

This is a good format for the PR description.

Co-authored-by: Raphael Luciano <raphael.luciano@ansys.com>
@seanpearsonuk seanpearsonuk merged commit 838d037 into main Dec 11, 2023
20 checks passed
@seanpearsonuk seanpearsonuk deleted the feat/slurm branch December 11, 2023 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

job scheduler script interaction
4 participants