Why is the serverinfo file empty ? PyFluent with Slurm scheduler

Clara
Clara Member, Employee Posts: 0
Ansys Employee
✭✭✭
edited September 2023 in General Language Questions

When the PyFluent job is launched using a slurm bash shel script it fails because the serverinfo file is empty (it exists though). It works localy (outside from the job scheduler). This is the error:

2023-03-20 14:20:26,998 root     ERROR  The launch process has been timed out.

/tmp/serverinfo-nzxpy3ap.txt

[]

Traceback (most recent call last):
 File "/script/pyfluent.py", line 12, in <module>
  solver = pyfluent.launch_fluent(precision="double", mode="solver", show_gui=None )
 File "/home/install_pyfluent/lib/python3.9/site-packages/ansys/fluent/core/launcher/launcher.py", line 419, in launch_fluent
  return new_session.create_from_server_info_file(
 File "/home/install_pyfluent/lib/python3.9/site-packages/ansys/fluent/core/session.py", line 100, in create_from_server_info_file
  ip, port, password = parse_server_info_file(server_info_filepath)
 File "/home/install_pyfluent/lib/python3.9/site-packages/ansys/fluent/core/session.py", line 31, in parse_server_info_file
  ip_and_port = lines[0].strip().split(":")
IndexError: list index out of range
Failed to connect to bus: Connexion refusée

Answers

This discussion has been closed.