Closed seanpearsonuk closed 3 weeks ago
I agree with this idea.
Yes, if we are launching Fluent using PyFluent (launch_fluent
) then it should launch Fluent with Python console.
Note that, there is a current issue while starting the Fluent container with -py, reported by @raph-luc
Error: libXss.so.1: cannot open shared object file: No such file or directory
Error Object: ("solver = ansys.fluent.core.session_solver.Solver(fluent_connection=ansys.fluent.core.fluent_connection.FluentConnection(channel='', cleanup_on_exit=False, start_transcript=False))")
The error is present in both 24.2 and 25.1 versions of the image in all -hidden/-gu/-g mode. Ideally, the library libXss, which is a screensaver library, should not be required.
Note that, there is a current issue while starting the Fluent container with -py, reported by @raph-luc
Error: libXss.so.1: cannot open shared object file: No such file or directory Error Object: ("solver = ansys.fluent.core.session_solver.Solver(fluent_connection=ansys.fluent.core.fluent_connection.FluentConnection(channel='', cleanup_on_exit=False, start_transcript=False))")
The error is present in both 24.2 and 25.1 versions of the image in all -hidden/-gu/-g mode. Ideally, the library libXss, which is a screensaver library, should not be required.
This is due to an unintended import in PyConsole code, will merge a fix in Fluent.
@mkundu1 Thanks a lot for the update. I was confused about why build/CI is getting hang during codegen every time for this PR only. Now it's clear.
I had also reverted file transfer changes in this PR but still it was hanging every time in CI.
Note that, there is a current issue while starting the Fluent container with -py, reported by @raph-luc
Error: libXss.so.1: cannot open shared object file: No such file or directory Error Object: ("solver = ansys.fluent.core.session_solver.Solver(fluent_connection=ansys.fluent.core.fluent_connection.FluentConnection(channel='', cleanup_on_exit=False, start_transcript=False))")
The error is present in both 24.2 and 25.1 versions of the image in all -hidden/-gu/-g mode. Ideally, the library libXss, which is a screensaver library, should not be required.
This is due to an unintended import in PyConsole code, will merge a fix in Fluent.
Thanks, @mkundu1
It might be appropriate at this point in the roadmap to default the launched Fluent instance to Python rather than the legacy console. I vote to make this change now.
@dnwillia-work @mkundu1 @prmukherj @hpohekar