"Preprocessing stage required but no mesh is given"
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: "Preprocessing stage required but no mesh is given"
Hello,
Can you test replacing the bin/cs_case_domain.py with the attached file, then post the output from the script ?
Regards,
Yvan
Can you test replacing the bin/cs_case_domain.py with the attached file, then post the output from the script ?
Regards,
Yvan
- Attachments
-
- cs_case_domain.py
- (63.53 KiB) Downloaded 137 times
Re: "Preprocessing stage required but no mesh is given"
Hello Yvan,
I pasted the script you provided in
which is where the original script was present.
The results have not changed. The attachment has the output directories of both before and after replacing with the script you provided. Am I doing as you intended?
I pasted the script you provided in
Code: Select all
/home/.../code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne
The results have not changed. The attachment has the output directories of both before and after replacing with the script you provided. Am I doing as you intended?
- Attachments
-
- RESU.tar.gz
- (4.78 KiB) Downloaded 134 times
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: "Preprocessing stage required but no mesh is given"
Hello,
What I am interested in is not the output directory at this stage, but the messages in the terminal from which you ran the code, or the GUI run window contents if run from the GUI (because my modification should simply add additional messages to try to understand where things go wrong).
Regards,
Yvan
What I am interested in is not the output directory at this stage, but the messages in the terminal from which you ran the code, or the GUI run window contents if run from the GUI (because my modification should simply add additional messages to try to understand where things go wrong).
Regards,
Yvan
Re: "Preprocessing stage required but no mesh is given"
Hello Yvan,
here is the output at the terminal:
I couldnt find much difference except that the error earlier appeared at line 896 (post # 6 in this thread) and this time at line 900.
Anand
here is the output at the terminal:
Code: Select all
Code_Saturne
************
Version: 6.0
Path: /home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64
Result directory:
/home/anands/Documents/Code_Saturne_Sims/Verify-VolumeHeatSource/Case-2-MiddleStove/RESU/20191028-1656
****************************
Preparing calculation data
****************************
Single processor Code_Saturne simulation.
***************************
Preprocessing calculation
***************************
Traceback (most recent call last):
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/bin/code_saturne", line 76, in <module>
retcode = cs.execute()
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_script.py", line 93, in execute
return self.commands[command](options)
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_script.py", line 170, in run
return cs_run.main(options, self.package)
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_run.py", line 329, in main
return run(argv, pkg)[0]
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_run.py", line 317, in run
stages=stages)
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_case.py", line 2042, in run
mpiexec_options)
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_case.py", line 1738, in preprocess
d.preprocess()
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_case_domain.py", line 900, in preprocess
raise RunCaseError(err_str)
cs_case_domain.RunCaseError: Preprocessing stage required but no mesh is given
Anand
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: "Preprocessing stage required but no mesh is given"
Hello,
It seems the problem occurs quite early, and the instrumentation might print empty lines.
I added some additional logging to the attached files. Could you try again with those ?
Best regards,
Yvan
It seems the problem occurs quite early, and the instrumentation might print empty lines.
I added some additional logging to the attached files. Could you try again with those ?
Best regards,
Yvan
- Attachments
-
- cs_xml_reader.py
- (11.45 KiB) Downloaded 147 times
-
- cs_case_coupling.py
- (11.41 KiB) Downloaded 136 times
-
- cs_run.py
- (11.39 KiB) Downloaded 139 times
Re: "Preprocessing stage required but no mesh is given"
Hello Yvan,
the following is the error report, for the files you have attached:
Anand
the following is the error report, for the files you have attached:
Code: Select all
Traceback (most recent call last):
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/bin/code_saturne", line 76, in <module>
retcode = cs.execute()
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_script.py", line 93, in execute
return self.commands[command](options)
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_script.py", line 170, in run
return cs_run.main(options, self.package)
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_run.py", line 330, in main
return run(argv, pkg)[0]
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_run.py", line 318, in run
stages=stages)
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_case.py", line 2042, in run
mpiexec_options)
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_case.py", line 1738, in preprocess
d.preprocess()
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_case_domain.py", line 900, in preprocess
raise RunCaseError(err_str)
cs_case_domain.RunCaseError: Preprocessing stage required but no mesh is given
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: "Preprocessing stage required but no mesh is given"
Hello,
If you only post the backtrace and not the previous lines, I won't be able to do much.
Regards,
Yvan
If you only post the backtrace and not the previous lines, I won't be able to do much.
Regards,
Yvan
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: "Preprocessing stage required but no mesh is given"
Hello,
If you only post the backtrace and not the previous lines, I won't be able to do much.
Regards,
Yvan
If you only post the backtrace and not the previous lines, I won't be able to do much.
Regards,
Yvan
Re: "Preprocessing stage required but no mesh is given"
Hello Yvan,
sorry for the mistake, here is the full listing:
sorry for the mistake, here is the full listing:
Code: Select all
cs_run.py: param = None
read_parameter_file_1 None
Code_Saturne
************
Version: 6.0
Path: /home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64
Result directory:
/home/anands/Documents/Code_Saturne_Sims/Verify-VolumeHeatSource/Case-2-MiddleStove/RESU/20191029-1518
****************************
Preparing calculation data
****************************
Single processor Code_Saturne simulation.
***************************
Preprocessing calculation
***************************
Traceback (most recent call last):
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/bin/code_saturne", line 76, in <module>
retcode = cs.execute()
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_script.py", line 93, in execute
return self.commands[command](options)
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_script.py", line 170, in run
return cs_run.main(options, self.package)
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_run.py", line 330, in main
return run(argv, pkg)[0]
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_run.py", line 318, in run
stages=stages)
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_case.py", line 2042, in run
mpiexec_options)
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_case.py", line 1738, in preprocess
d.preprocess()
File "/home/anands/Documents/CODE_SATURNE/Code_Saturne/6.0.0/code_saturne-6.0.0/arch/Linux_x86_64/lib/python3.6/site-packages/code_saturne/cs_case_domain.py", line 900, in preprocess
raise RunCaseError(err_str)
cs_case_domain.RunCaseError: Preprocessing stage required but no mesh is given
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: "Preprocessing stage required but no mesh is given"
Hello,
It seems the parameters file is not passed to the execution script.
Do you start the code with the GUI or directly running the "runcase" file from a terminal ? Could you post your runcase in SCRIPTS ?
Regards,
Yvan
It seems the parameters file is not passed to the execution script.
Do you start the code with the GUI or directly running the "runcase" file from a terminal ? Could you post your runcase in SCRIPTS ?
Regards,
Yvan