I'm sorry to bother you but I'm having some problems with the ubuntu package for cs_4.1.1 and I cannot seem to find the same error elsewhere in the forum.
I'm trying to replicate case6 tutorial to check if both cs and syrthes are correctly working on this installation.
The installation is a fresh kubuntu 15.10 on a virtual machine (I'm trying to determine the easiest way to get everything working before proceeding with a physical installation). It has the default packages, cs_4.1.1, syrthes and salome_meca (2015.2), and all the default packages that apt-get downloaded with these packages.
When I try to create the folder (step3 of the step by step guide) I get this error:
Code: Select all
$ code_saturne create -s 3disks2D -c fluid --syrthes solid
code-saturne 4.1 study/case generation
o Creating study '3disks2D'...
o Creating case 'fluid'...
Traceback (most recent call last):
File "/usr/bin/code_saturne", line 76, in <module>
retcode = cs.execute()
File "/usr/lib/python2.7/dist-packages/code-saturne/cs_script.py", line 88, in execute
return self.commands[command](options)
File "/usr/lib/python2.7/dist-packages/code-saturne/cs_script.py", line 138, in create
return cs_create.main(options, self.package)
File "/usr/lib/python2.7/dist-packages/code-saturne/cs_create.py", line 651, in main
study.create()
File "/usr/lib/python2.7/dist-packages/code-saturne/cs_create.py", line 244, in create
self.create_case(c)
File "/usr/lib/python2.7/dist-packages/code-saturne/cs_create.py", line 575, in create_case
casename = casename)
File "/usr/lib/python2.7/dist-packages/code-saturne/cs_create.py", line 603, in build_batch_file
case_name=casename)
File "/usr/lib/python2.7/dist-packages/code-saturne/cs_runcase.py", line 77, in __init__
self.get_run_command()
File "/usr/lib/python2.7/dist-packages/code-saturne/cs_runcase.py", line 144, in get_run_command
raise ValueError(err_str)
ValueError: Error: unable to determine the name of the script for /home/fil/cases/3disks2D/fluid/SCRIPTS/runcase
Code: Select all
$ code_saturne gui
Traceback (most recent call last):
File "/usr/bin/code_saturne", line 76, in <module>
retcode = cs.execute()
File "/usr/lib/python2.7/dist-packages/code-saturne/cs_script.py", line 88, in execute
return self.commands[command](options)
File "/usr/lib/python2.7/dist-packages/code-saturne/cs_script.py", line 142, in gui
return cs_gui.main(options, self.package)
File "/usr/lib/python2.7/dist-packages/code-saturne/cs_gui.py", line 144, in main
sys.path.insert(1, pkg.get_dir('cspythondir'))
File "/usr/lib/python2.7/dist-packages/code-saturne/cs_package.py", line 108, in get_dir
return self.dirs[installdir][1]
KeyError: 'cspythondir'
Would a manual installation from sources be a better option?
Thank you very much in advance for any help,
Kind Regards
Filip