Error in mesh preprocess

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
xieqing
Posts: 6
Joined: Fri Jun 26, 2020 10:10 am

Error in mesh preprocess

Post by xieqing »

Hello,
I am trying to preprocess a mesh in CGNS format to generate a 'mesh_input'
But it comes out such error:

Code_Saturne is running
***********************

Version: 4.0
Path: /home/xq/Softwares/saturne_4.0.2/code_saturne-4.0.2/arch/Linux_x86_64

Result directory:
/home/xq/TESTs/Channel_TEST/CASE1/RESU/20200626-0206


Single processor Code_Saturne simulation.


****************************
Preparing calculation data
****************************


***************************
Preprocessing calculation
***************************

Traceback (most recent call last):
File "/home/xq/Softwares/saturne_4.0.2/code_saturne-4.0.2/arch/Linux_x86_64/bin/code_saturne", line 76, in <module>
retcode = cs.execute()
File "/home/xq/Softwares/saturne_4.0.2/code_saturne-4.0.2/arch/Linux_x86_64/lib/python2.7/site-packages/code_saturne/cs_script.py", line 88, in execute
return self.commands[command](options)
File "/home/xq/Softwares/saturne_4.0.2/code_saturne-4.0.2/arch/Linux_x86_64/lib/python2.7/site-packages/code_saturne/cs_script.py", line 150, in run
return cs_run.main(options, self.package)
File "/home/xq/Softwares/saturne_4.0.2/code_saturne-4.0.2/arch/Linux_x86_64/lib/python2.7/site-packages/code_saturne/cs_run.py", line 304, in main
save_results=save_results)
File "/home/xq/Softwares/saturne_4.0.2/code_saturne-4.0.2/arch/Linux_x86_64/lib/python2.7/site-packages/code_saturne/cs_case.py", line 1764, in run
force_id)
File "/home/xq/Softwares/saturne_4.0.2/code_saturne-4.0.2/arch/Linux_x86_64/lib/python2.7/site-packages/code_saturne/cs_case.py", line 1504, in prepare_data
d.preprocess()
File "/home/xq/Softwares/saturne_4.0.2/code_saturne-4.0.2/arch/Linux_x86_64/lib/python2.7/site-packages/code_saturne/cs_case_domain.py", line 758, in preprocess
retcode = run_command(cmd, pkg=self.package)
File "/home/xq/Softwares/saturne_4.0.2/code_saturne-4.0.2/arch/Linux_x86_64/lib/python2.7/site-packages/code_saturne/cs_exec_environment.py", line 516, in run_command
p = subprocess.Popen(cmd, env = env, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory



Could anyone teach me how to solve this problem?
xieqing
Posts: 6
Joined: Fri Jun 26, 2020 10:10 am

Re: Error in mesh preprocess

Post by xieqing »

Problem solved:

if you set disable_frontend =yes when installing using install_saturne.py ( automated installs )

~/.../libexec/cs_proprocess will not be installed

This is why the error "No such file..." occurs
Post Reply