Page 1 of 1

CS/Syrthes installation

Posted: Mon Jan 25, 2021 6:11 pm
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

Re: CS/Syrthes installation

Posted: Mon Jan 25, 2021 10:46 pm
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

Re: CS/Syrthes installation

Posted: Tue Jan 26, 2021 8:42 am
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

Re: CS/Syrthes installation

Posted: Tue Jan 26, 2021 5:46 pm
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

Re: CS/Syrthes installation

Posted: Tue Jan 26, 2021 8:36 pm
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

Re: CS/Syrthes installation

Posted: Wed Jan 27, 2021 1:32 am
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

Re: CS/Syrthes installation

Posted: Wed Jan 27, 2021 9:38 am
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

Re: CS/Syrthes installation

Posted: Wed Jan 27, 2021 12:13 pm
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

Re: CS/Syrthes installation

Posted: Wed Jan 27, 2021 6:26 pm
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

Re: CS/Syrthes installation

Posted: Mon Feb 08, 2021 10:58 am
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