Error in compiling subroutines - Code Saturne 5.2
Posted: Wed Sep 18, 2019 2:20 pm
Hello,
In order to learn how to use subroutines in Code_Saturne, I am doing Full Domain tutorial (case2)
However I have an error message when I try to run calculation in Code_Saturne
Here's the message obtained with code_saturne compile :
The version of Code_Saturne is Code_Saturne 5.2 from Salome_CFD (Development version)
Thank you for your help
gfortran -o cs_f_user_boundary_conditions.o -I /home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/include/code_saturne -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fopenmp -O -c /home/jarancio/Simulations_CodeSaturne/fulldomain/case2/SRC/cs_user_boundary_conditions.f90
Traceback (most recent call last):
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/bin/code_saturne", line 76, in <module>
retcode = cs.execute()
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_script.py", line 91, in execute
return self.commands[command](options)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_script.py", line 138, in compile
return cs_compile.main(options, self.package)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_compile.py", line 643, in main
keep_going=keep_going)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_compile.py", line 608, in compile_and_link
stderr=stderr)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_compile.py", line 569, in compile_and_link
keep_going, stdout, stderr)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_compile.py", line 431, in compile_src
stdout=stdout, stderr=stderr) != 0:
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_exec_environment.py", line 536, in run_command
p = subprocess.Popen(cmd, universal_newlines=True, env = env, **kwargs)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/prerequisites/Python-2710/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/prerequisites/Python-2710/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
In order to learn how to use subroutines in Code_Saturne, I am doing Full Domain tutorial (case2)
However I have an error message when I try to run calculation in Code_Saturne
Here's the message obtained with code_saturne compile :
The version of Code_Saturne is Code_Saturne 5.2 from Salome_CFD (Development version)
Thank you for your help
gfortran -o cs_f_user_boundary_conditions.o -I /home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/include/code_saturne -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fopenmp -O -c /home/jarancio/Simulations_CodeSaturne/fulldomain/case2/SRC/cs_user_boundary_conditions.f90
Traceback (most recent call last):
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/bin/code_saturne", line 76, in <module>
retcode = cs.execute()
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_script.py", line 91, in execute
return self.commands[command](options)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_script.py", line 138, in compile
return cs_compile.main(options, self.package)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_compile.py", line 643, in main
keep_going=keep_going)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_compile.py", line 608, in compile_and_link
stderr=stderr)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_compile.py", line 569, in compile_and_link
keep_going, stdout, stderr)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_compile.py", line 431, in compile_src
stdout=stdout, stderr=stderr) != 0:
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/modules/CFDSTUDY_v52/lib/python2.7/site-packages/code_saturne/cs_exec_environment.py", line 536, in run_command
p = subprocess.Popen(cmd, universal_newlines=True, env = env, **kwargs)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/prerequisites/Python-2710/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/home/jarancio/salome-cfd/Salome_CFD-SCFD_V8_5_0-Code_Saturne-5_2-univ_d54f597c/prerequisites/Python-2710/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory