From 0991a2ae799aca8324c44e10446d579c2dd74d8e Mon Sep 17 00:00:00 2001 From: Harshal Pohekar Date: Fri, 19 Apr 2024 13:28:22 +0530 Subject: [PATCH] use finalizer 1 --- src/ansys/fluent/core/launcher/container_launcher.py | 1 + src/ansys/fluent/core/session.py | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ansys/fluent/core/launcher/container_launcher.py b/src/ansys/fluent/core/launcher/container_launcher.py index d14a3f06772..72d39648c07 100644 --- a/src/ansys/fluent/core/launcher/container_launcher.py +++ b/src/ansys/fluent/core/launcher/container_launcher.py @@ -188,6 +188,7 @@ def __call__(self): fluent_connection = FluentConnection( port=port, password=password, + file_transfer_service=self.file_transfer_service, cleanup_on_exit=self.cleanup_on_exit, slurm_job_id=self.argvals and self.argvals.get("slurm_job_id"), inside_container=True, diff --git a/src/ansys/fluent/core/session.py b/src/ansys/fluent/core/session.py index 79382f74dda..a9e43ce3b56 100644 --- a/src/ansys/fluent/core/session.py +++ b/src/ansys/fluent/core/session.py @@ -303,7 +303,11 @@ def _create_from_server_info_file( """ ip, port, password = _parse_server_info_file(server_info_file_name) fluent_connection = FluentConnection( - ip=ip, port=port, password=password, **connection_kwargs + ip=ip, + port=port, + password=password, + file_transfer_service=file_transfer_service, + **connection_kwargs, ) session = cls( fluent_connection=fluent_connection,