CS/Syrthes in Ubuntu 20 vs Ubuntu 22

This forum is dedicated to Syrthes related issues, as the Syrthes tool does not have its own forum.
Post Reply
aminer2k
Posts: 7
Joined: Tue Aug 06, 2024 11:10 pm

CS/Syrthes in Ubuntu 20 vs Ubuntu 22

Post by aminer2k »

Hello,
I have CS 8.0 and Syrthes 5.0 running coupling problems in Ubuntu 22, without issue.

I need to set up a second system, which is Ubuntu 20. After reinstalling a couple of times, following the steps that worked on my Ubuntu 22 system, I still get an error.
CS gui runs fine.
Syrthes gui runs fine.
When launching a coupled case that runs fine on Ubuntu 22, now launching in my Ubuntu 20 setup, I get the following error:

Code: Select all

Set syrthes_home based on SYRTHES4_HOME: /home/a/syrthes5.0/arch/Linux_x86_64
Traceback (most recent call last):
  File "/home/a/code_saturne/8.0.3/code_saturne-8.0.3/arch/Linux_x86_64/lib/python3.8/site-packages/code_saturne/base/cs_case_coupling.py", line 170, in coupling
    dom = syrthes_domain(package,
  File "/home/a/code_saturne/8.0.3/code_saturne-8.0.3/arch/Linux_x86_64/lib/python3.8/site-packages/code_saturne/base/cs_case_domain.py", line 1532, in __init__
    source_syrthes_env(self.package, verbose, force=True)
  File "/home/a/code_saturne/8.0.3/code_saturne-8.0.3/arch/Linux_x86_64/lib/python3.8/site-packages/code_saturne/base/cs_exec_environment.py", line 1004, in source_syrthes_env
    syr_profile = os.path.join(config.get('install', 'syrthes'),
  File "/usr/lib/python3.8/configparser.py", line 781, in get
    d = self._unify_values(section, vars)
  File "/usr/lib/python3.8/configparser.py", line 1149, in _unify_values
    raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'install'
I pointed Syrthes to the CS libpe directory, in the setup file, I think.
The setup files I used are attached. (this site does not allow the CS setup file to be uploaded. pasted below.)
Any idea what this error is?

Any indication what this is?


setup file modifications at the end:

#
# Name Use Install Path
#
hdf5 yes yes None
cgns yes yes None
med yes yes None
scotch yes yes None
parmetis no no None
#
#=
Attachments
setup.ini
(4.33 KiB) Downloaded 414 times
Yvan Fournier
Posts: 4164
Joined: Mon Feb 20, 2012 3:25 pm

Re: CS/Syrthes in Ubuntu 20 vs Ubuntu 22

Post by Yvan Fournier »

Hello,

Did you do the post-install part of the code_saturne setup (i.e. editing the code_saturne.cfg file in the installation directory) ? Looks like this is missing, based on your error message.

Best regards,

Yvan
Post Reply