Page 1 of 3

Problem with a tutorial

Posted: Sun Mar 26, 2017 4:52 pm
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?

Re: Problem with a tutorial

Posted: Mon Mar 27, 2017 6:39 pm
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

Re: Problem with a tutorial

Posted: Tue Apr 11, 2017 4:50 pm
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?

Re: Problem with a tutorial

Posted: Tue Apr 11, 2017 11:09 pm
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

Re: Problem with a tutorial

Posted: Thu Apr 13, 2017 9:04 am
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

Re: Problem with a tutorial

Posted: Thu Apr 13, 2017 10:40 am
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

Re: Problem with a tutorial

Posted: Tue Apr 18, 2017 1:46 pm
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.

Re: Problem with a tutorial

Posted: Wed Apr 19, 2017 1:10 am
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

Re: Problem with a tutorial

Posted: Thu Apr 20, 2017 9:36 am
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))

Re: Problem with a tutorial

Posted: Fri Apr 21, 2017 6:12 am
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