You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using PyFluent 0.20 with Fluent 24R1 and launching my code in Linux environment and facing an extreme slow down. apparently Fluent is not taking the resources I am sending to the launcher. My job is not taking external resources and is not traceable.
馃摑 Steps to reproduce
activate your virtual environment, then launch the Fluent through Pylauncher using slurm:
import ansys.fluent.core as pyfluent
import os
import math as math
import pprint
def launcher(ss, ver, prec, core1, mode1, gui, clean1):
a1="-pib -cfluesh"
slurm=pyfluent.launch_fluent(scheduler_options={"scheduler":"slurm", "scheduler_headnode":"cdc01dcv01",
"scheduler_queue":"cdc03gen","scheduler_account": "ace"} , additional_arguments=a1, product_version=ver,precision=prec,processor_count=core1,mode=mode1,show_gui=gui,cleanup_on_exit=clean1)
ss=slurm.result()
return ss
# critical variables
########################
ver='24.1.0'
mode1='solver'
dim1='3d'
gui=True
core1=2*32
prec='double'
clean1=False
o_press=250*6894.76 # KPa to psi
T_Fuel=310.93 # K
T_Oxid=755.37 # K
T_pdf_min=308 # K
del_t=5e-6 # [s]
# loading Fluent
# this section checks for server file existance.
# if server file exists, the session will connect to
# an existing Fluent session. otherwise, it will launch a new session.
# when you exit Fluent, make sure you erase the server file for future connection.
###############################
from launcher import *
server_file='server.txt'
server_file_check=os.path.isfile(server_file)
if not server_file_check:
s1=pyfluent.launch_fluent(product_version=ver, precision=prec, processor_count=core1,
mode=mode1,show_gui=gui,cleanup_on_exit=False,py=False)
s1.tui.server.write_or_reset_server_info('server.txt','no')
else:
s1=pyfluent.connect_to_fluent(server_info_file_name=server_file)
馃攳 Before submitting the issue
馃悶 Description of the bug
I am using PyFluent 0.20 with Fluent 24R1 and launching my code in Linux environment and facing an extreme slow down. apparently Fluent is not taking the resources I am sending to the launcher. My job is not taking external resources and is not traceable.
馃摑 Steps to reproduce
activate your virtual environment, then launch the Fluent through Pylauncher using slurm:
馃捇 Which operating system are you using?
Linux
馃搥 Which ANSYS version are you using?
Fluent 24R1
馃悕 Which Python version are you using?
3.10
馃摝 Installed packages
The text was updated successfully, but these errors were encountered: