CS/Syrthes installation

This forum is dedicated to Syrthes related issues, as the Syrthes tool does not have its own forum.
Post Reply
lamia
Posts: 8
Joined: Mon Jan 25, 2021 5:15 pm

CS/Syrthes installation

Post by lamia »

Hello,

I am trying to install Syrthes 4.3.5 on Ubuntu 18.04.5. It seems there is some problem with med (I give the path oh med installed by CS6.06), but I cannot find where.
Attached are setup file, and error log.

Do you have any idea.

Best regards

Lamia
Attachments
setup.ini
(4.13 KiB) Downloaded 1118 times
ERREUR.log
(1.73 KiB) Downloaded 1158 times
Yvan Fournier
Posts: 4155
Joined: Mon Feb 20, 2012 3:25 pm

Re: CS/Syrthes installation

Post by Yvan Fournier »

Hello,

Could you output the result of :
ls /home/abbas/Code_Saturne_b/6.0.6/med-4.0.0/arch/Linux_x86_64/
Best regards,

Yvan
lamia
Posts: 8
Joined: Mon Jan 25, 2021 5:15 pm

Re: CS/Syrthes installation

Post by lamia »

The output is :
~/Code_Saturne_b/6.0.6/med-4.0.0/arch/Linux_x86_64$ ls
bin include lib share
Thank you
Best regards
Lamia
Yvan Fournier
Posts: 4155
Joined: Mon Feb 20, 2012 3:25 pm

Re: CS/Syrthes installation

Post by Yvan Fournier »

Hello,

That seems OK. Do you have a "med.h" file under "include" ? If so, I do not see what may be wrong, unless some "include path" argument is not passed by the build scripts/Makefile (but since the build is not verbose, it is hard to know).

What type of system are you running on ?

Best regards,

Yvan
lamia
Posts: 8
Joined: Mon Jan 25, 2021 5:15 pm

Re: CS/Syrthes installation

Post by lamia »

Hi Yvan
That seems OK. Do you have a "med.h" file under "include" ?

Yes there is a med.h file under the include folder
What type of system are you running on ?
Ubuntu 18..04.5

Regards

Lamia
Yvan Fournier
Posts: 4155
Joined: Mon Feb 20, 2012 3:25 pm

Re: CS/Syrthes installation

Post by Yvan Fournier »

Hello,

Do you confirm this is the version of Syrthes available on this web site ? I am not sure how to make the compilation more verbose.

One workaround may be to define the general C_INCLUDE_PATH variable
(export C_INCLUDE_PATH=/home/abbas/Code_Saturne_b/6.0.6/med-4.0.0/arch/Linux_x86_64/include).

Best regards,

Yvan
lamia
Posts: 8
Joined: Mon Jan 25, 2021 5:15 pm

Re: CS/Syrthes installation

Post by lamia »

Hello,
Do you confirm this is the version of Syrthes available on this web site ?
Yes it is.

I tried again after restarting my computer(without defining the variable C_INCLUDE_PATH variable). I no longer have a med error. But the file ERROR.log still non-empty.

Do you think that is annoying?

Regards

Lamia
Attachments
ERREUR.log
(1.39 KiB) Downloaded 1128 times
lamia
Posts: 8
Joined: Mon Jan 25, 2021 5:15 pm

Re: CS/Syrthes installation

Post by lamia »

Hello,

I think that my problem is PyQt5 because when I try the command syrthes.gui, I have the following error
ImportError: No module named PyQt5
however, I installed it with the command : pip install PyQt5, and it appears when I check with the command : pip list. Do you have an idea?

Regards,

Lamia
Yvan Fournier
Posts: 4155
Joined: Mon Feb 20, 2012 3:25 pm

Re: CS/Syrthes installation

Post by Yvan Fournier »

Hello,

In which order did you install things ? Why did you use pip install instead of the standard Ubuntu packages ? That would be simpler and safer, if you have admin/sudo access on your machine. Otherwise, you need to make sure the correct environment (used by Pip) is also loaded for Syrthes. And as I am not too familiar with the Syrthes build system, you are probably on your own in this case, unless someone else here has worked around this type of issue.

If you can install the Ubuntu packages (same as those recommended for code_saturne on the GitHub wiki, plus PyQtcharts), I would try that instead.

Regards,

Yvan
lamia
Posts: 8
Joined: Mon Jan 25, 2021 5:15 pm

Re: CS/Syrthes installation

Post by lamia »

Hello,

I would like to make a return, maybe another person will face the same problem.
Everything was well installed, but the command python in my environment points to python2. So, I replace pyton by python3 in the file syrthes.gui.

Know I have some problem with syrthesconvert. I suspect the compiler is too recent.

Thank you very much for all
Regards
Lamia
Attachments
ERREUR.log
(1.39 KiB) Downloaded 1115 times
Post Reply