Problem with a tutorial

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Mik
Posts: 19
Joined: Sat Mar 11, 2017 6:22 pm

Problem with a tutorial

Post by Mik »

Hello again, i'm recently doing the first tutorial in the site's section (Simplified nuclear vessel) and i followed every line of the tutorial in the "solution case 1" but i've a problem: i finished the compilation and clicked on "start calculation" in the section "prepare batch calculation" and i've got this message.


Code_Saturne
************

Version: 4.2
Path: /usr

Result directory:
/home/mik/T_junction/case1/RESU/20170326-1847



****************************
Preparing calculation data
****************************

Single processor Code_Saturne simulation.


***************************
Preprocessing calculation
***************************


**********************
Starting calculation
**********************

/usr/lib/code_saturne/cs_solver: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/libsaturne.so.0)
Warning: program compiled against libxml 209 using older 207

****************************
Saving calculation results


Did i miss something during the installation phase maybe? can i solve the warning message?
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem with a tutorial

Post by Yvan Fournier »

Hello,

This posts belongs in the installation section, so I'll move it soon.

How did you install the code ? Did you upgrade your system since ?

Regards,

Yvan
Mik
Posts: 19
Joined: Sat Mar 11, 2017 6:22 pm

Re: Problem with a tutorial

Post by Mik »

Hi yvan and sorry for late and for the wrong section. I had installed code saturne with the *.py file. I had some problem during installation ((http://code-saturne.org/forum/viewtopic.php?f=3&t=2071 <-- This is the link of when I had problems but thanks to your answer, I solved and installed properly.)) but after installation I do not think I have updated code_saturne or ubuntu itself. From what you wrote in that post, I realized that the post-installation configurations were NOT necessary, so I just tried to follow the tutorial. In the old post that I linked you I wrote a post-installation message that appeared to me at the end thereof. Perhaps I would have to complete those steps?
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem with a tutorial

Post by Yvan Fournier »

Hello,

Do you still have the message you had at one point ?
/usr/lib/code_saturne/cs_solver: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/libsaturne.so.0)
Warning: program compiled against libxml 209 using older 207
Hopefully not. You can ignore the message about post-installation: it is just a reminder that post-installation is possible (but is only necessary for coupling with Syrthes or to configure for use with a batch system).

Regards,

Yvan
Mik
Posts: 19
Joined: Sat Mar 11, 2017 6:22 pm

Re: Problem with a tutorial

Post by Mik »

Yes, i've got the same message:

/usr/lib/code_saturne/cs_solver: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/libsaturne.so.0)
Warning: program compiled against libxml 209 using older 207

I have no idea where the problem is
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem with a tutorial

Post by Yvan Fournier »

Hello,

It is strange that your install is in /usr, unless you forced it that way (it is not the default).

Could you post the information indicated in this forum section's recommandations ?

Regards,

Yvan
Mik
Posts: 19
Joined: Sat Mar 11, 2017 6:22 pm

Re: Problem with a tutorial

Post by Mik »

I've CodeSaturne 4.0.6 on Ubuntu 16.04.1 LTS with:
-CGNS ((from the automatic installer of the *.py file))
-hdf5 1.8.14 (have 1.10patch)
-OpenBlas
-libxml2
-sip
-med 3.0.8 (have 3.1.0 too)
-pyqt
-QT 4.8.6
-Scotch 6.0.4
-metis 5.1.0
-parmetis 4.0.3

Tell me if u need something else and possibly how to get the information because i'm not so expert working with ubuntu.
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem with a tutorial

Post by Yvan Fournier »

Hello,

The useful files (for full info) are listed in the forum recomendations:

http://code-saturne.org/forum/viewtopic.php?f=3&t=12

Regards,

Yvan
Mik
Posts: 19
Joined: Sat Mar 11, 2017 6:22 pm

Re: Problem with a tutorial

Post by Mik »

-CodeSaturne version 4.0.6 (( version of Code_Saturne))

-gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 ((third party tools used (gcc/icc version, ...)))
-cgnslib 3.2.1 ((the other third party libraries are on the previous post))

-i've attached the config.log of code_saturne and a file with my system information ((details on system/machine AND config.log and console errors))
Attachments
System information.log
SystemInfo
(18.25 KiB) Downloaded 305 times
config.log
(192.01 KiB) Downloaded 295 times
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem with a tutorial

Post by Yvan Fournier »

Hello,

It seems from your config.lig that you used livxml2 from /usr/local. You probably also have another version of libxml in /usr, and may have the header (.h files) for just one of the 2.

This would explain your message. Why did you need to add another version of libxml2 in /usr/local ? Installing the libxml2-dev packgage should be enough.

Regards,

Yvan
Post Reply