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

feat: Return launch and connection info from standalone launcher dry-run #3576

Merged
merged 8 commits into from
Dec 18, 2024

Conversation

mkundu1
Copy link
Contributor

@mkundu1 mkundu1 commented Dec 16, 2024

Use case of the dry_run argument of the launch_fluent() to use with external launcher for launching Fluent in a different machine.

  1. Assume a shared directory between the server machine (where Fluent is launched) and client machine (where PyFluent is run) is available at path /mnt/shared in the server machine and \\server\shared in the client machine.
  2. Set the environment variable SERVER_INFO_DIR to /mnt/shared in the server machine and \\server\shared in the client machine.
  3. In client, launch_fluent(fluent_path=<path to fluent exe as in the server machine>, dry_run=True) will return a tuple containing Fluent launch string and the absolute path of the server info file in client.
  4. Fluent is launched by the external launcher using the Fluent launch string returned above.
  5. In client, PyFluent connects using connect_to_fluent() with the server info file path returned above.

@mkundu1 mkundu1 marked this pull request as ready for review December 16, 2024 23:22
@mkundu1 mkundu1 merged commit edd9adc into main Dec 18, 2024
29 checks passed
@mkundu1 mkundu1 deleted the feat/dry-run branch December 18, 2024 00: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.

3 participants