npuljc / RL_control_Nek5000

20 stars 8 forks source link

Error while running training.py #2

Open bhan5426 opened 2 years ago

bhan5426 commented 2 years ago

Hi

This work really interests me and I was trying to regenerate your results in the paper. However, when I run training.py with appropriate dependencies I get the following error [see below]. Can you please let me know if I am missing something.

Step1 - makenek cylinder was completed successfully. Step2 I get the following output [copy pasted last few lines from the terminal for reference]

OUTPUT: define runner start learning rm: cannot remove 'cylinder/cdcl.dat': No such file or directory rm: cannot remove 'cylinder/probe_values.dat': No such file or directory ERROR: Error while reading SESSION.NAME! ierr= 1

an error occured: dying ...

sh: 1: cannot open cylinder.fld01: No such file CFD simulation didn't converge! Terminated.

npuljc commented 2 years ago

Thank you for your interest. It seems you had an issue in calling for the CFD simulation. You may go to the cylinder folder and test if you can run some CFD steps there. Thanks!

YL-kl commented 2 years ago

Hi

This work really interests me and I was trying to regenerate your results in the paper. However, when I run training.py with appropriate dependencies I get the following error [see below]. Can you please let me know if I am missing something.

Step1 - makenek cylinder was completed successfully. Step2 I get the following output [copy pasted last few lines from the terminal for reference]

OUTPUT: define runner start learning rm: cannot remove 'cylinder/cdcl.dat': No such file or directory rm: cannot remove 'cylinder/probe_values.dat': No such file or directory ERROR: Error while reading SESSION.NAME! ierr= 1

an error occured: dying ...

sh: 1: cannot open cylinder.fld01: No such file CFD simulation didn't converge! Terminated.

Hi @bhan5426 I get the same error information, have you solved this problem?

HazemKhaledAbdallah commented 5 months ago

hello , iam intersting in your work and its really helpful. I have problem , after i finished the first training episode the solution stopped and received an error : OSError: cylinder/probe_values.dat not found. So , how can i fix this problem. Thanks

sjhsbhqf commented 3 months ago

中文版: 我莫名奇妙地解决了这个问题,已经可以开始算了。 先用makenek cylinder编译,cylinder目录会得到一个makefile文件

然后我再用make命令,

接着再执行python training.py,发现就好了。

当然你需要创建一个包含以下内容的SESSION.NAME文件

cylinder
~/RL_control_Nek5000/flowcontrol/cylinder/

English(google translated):

I have inexplicably solved this problem and can now start calculating.

First, compile using makenek cyclinder.

The cyclinder directory will result in a makefile file, and then I will use the make command.

Then, I will execute Python training.py, and it will be fine.

Of course, you need to create a session that includes the following content Name file

cylinder
~/RL_control_Nek5000/flowcontrol/cylinder/