Page 1 of 2

Syrthes 5.0 / CS7.0 installation

Posted: Thu Jun 24, 2021 10:07 am
by ansystk
Hi all,

I am facing some troubles to compile Syrthes 5.0 from source and to link it to the Saturne code 7.0.0.

The installation from source of the Saturne code is ok as I could compute some CFD simulations without any issues.

I am on ubuntu 20.04 LTS.

I tried also the 4.3.5 Syrthes version and to compile with the "ple USE=no and syrthescfd INSTALL=no" options to make a standalone Syrthes install without any success.

I attach below my setup.ini and the error.log files

Thank you in advance for your help,
Best regards,
David

Re: Syrthes 5.0 / CS7.0 installation

Posted: Thu Jun 24, 2021 11:18 pm
by Yvan Fournier
Hello,

The Syrthes installer's ERROR.log generation simply seems to "grep" "error" in all logs, which is a rotten way of reporting errors, since it reports possible error messages in source files...

the only actual error there is

"collect2: error: ld returned 1 exit status"
../pp.log:make[1]: *** [Makefile:24 : a.out] Erreur 1
../pp.log:make: *** [Makefile:49 : pp] Erreur 2

So some other library is missing. But I am not sure which. You might try to add "-lz" to the specific_lib option in setup.ini, in case it is the one (I suggest this because I had a similar issue recently, and seem to rememeber this was the missing lib).

Best regards,

Yvan

Re: Syrthes 5.0 / CS7.0 installation

Posted: Fri Jun 25, 2021 11:06 am
by ansystk
Hello Yvan,

As suggested, I tried to compile the code by adding the following line in the setup.ini:
specific_lib= -L /usr/lib/x86_64-linux-gnu/liblz4.so.1.9.2

The error log is the same.

In the terminal, the installation script stops at the library: libicui18n.so.52 which is installed from the repository but in version 66. Might be a compatibility problem but no success with specific_lib= -L /usr/lib/x86_64-linux-gnu/libcui18n.so.66

Any idea on how to locate the problematic library? I am not an expert in code compiling.

Thank you,
Best regards,
David

Re: Syrthes 5.0 / CS7.0 installation

Posted: Fri Jun 25, 2021 2:29 pm
by Yvan Fournier
Hello,

Sorry, I did not mean "liblz", but libz. So "-lz" is sufficient, in addition to the previous option. Otherwise, you might have an error message relative to the exact library in the compile output in the terminal, or in one of the log files such as pp.log (in the directory above the one with the install script).

Best regards,

Yvan

Re: Syrthes 5.0 / CS7.0 installation

Posted: Wed Jun 30, 2021 8:35 am
by ansystk
Hello Yvan,

I tried again no success. I delete everything and try to compile again with clean sources and with the default settings. I checked all the log files I could find in the repositories you mentionned. They all terminate with the mention: "make[1] : on quitte le répertoire ..."

Please find attached a screenshot of the terminal.

Thank you,
Best regards,
David

Re: Syrthes 5.0 / CS7.0 installation

Posted: Thu Jul 01, 2021 4:56 pm
by Yvan Fournier
Hello,

Does the install still fail ? The messages seem Ok here.

Best regards,

Yvan

Re: Syrthes 5.0 / CS7.0 installation

Posted: Fri Jul 02, 2021 10:43 am
by ansystk
Hello Yvan,

The install still fails. In the shell I have a warning indicating that the installation of some components failed. I found an error in the pp.log. Something with the scoth library. I have attached the log file.

Thank you,
Best regards,
David

Re: Syrthes 5.0 / CS7.0 installation

Posted: Fri Jul 02, 2021 3:12 pm
by Yvan Fournier
Hello,

Yes, this is what I suspected.

Can you try adding :

specific_lib= -lz

To your setup.ini ?

Regards,

Yvan

Re: Syrthes 5.0 / CS7.0 installation

Posted: Fri Jul 02, 2021 3:55 pm
by ansystk
Yvan,

I've just tried. The error still occurs.

Regards,
David

Re: Syrthes 5.0 / CS7.0 installation

Posted: Fri Jul 02, 2021 7:12 pm
by Yvan Fournier
Hello,

It seems that "-lz" is not added correctly by that part of the script. You would need to modify the Makefiles at a lower level to fix this (I have needed to do similar things in the past, but do not remember the details ; I'll check if I have a trace but do not guarantee it).

Best regards,

Yvan