# Problem with a tutorial

**URL:** <https://code-saturne.org/forum/t/problem-with-a-tutorial/1357>\
**Category:** Installation issues\
**Created:** [March 26, 2017, 3:52pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357 "2017-03-26T15:52:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mik](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/958977/32.png) [@Mik](https://code-saturne.org/forum/u/Mik)\
**Post date:** [March 26, 2017, 3:52pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/1 "2017-03-26T15:52:32Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [March 27, 2017, 5:39pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/2 "2017-03-27T17:39:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mik](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/958977/32.png) [@Mik](https://code-saturne.org/forum/u/Mik)\
**Post date:** [April 11, 2017, 3:50pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/3 "2017-04-11T15:50:41Z")

</div>

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 (([Error while installing - code\_saturne User's Forum](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?

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [April 11, 2017, 10:09pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/4 "2017-04-11T22:09:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mik](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/958977/32.png) [@Mik](https://code-saturne.org/forum/u/Mik)\
**Post date:** [April 13, 2017, 8:04am UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/5 "2017-04-13T08:04:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [April 13, 2017, 9:40am UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/6 "2017-04-13T09:40:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mik](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/958977/32.png) [@Mik](https://code-saturne.org/forum/u/Mik)\
**Post date:** [April 18, 2017, 12:46pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/7 "2017-04-18T12:46:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [April 19, 2017, 12:10am UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/8 "2017-04-19T00:10:56Z")

</div>

Hello,

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

> **[Code\_Saturne Installation issues forum guidelines - code\_saturne User's Forum](https://www.code-saturne.org/forum/viewtopic.php?f=3&t=12)**

Regards,

Yvan

---

<div class="post-metadata">

**Author:** ![Mik](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/958977/32.png) [@Mik](https://code-saturne.org/forum/u/Mik)\
**Post date:** [April 20, 2017, 8:36am UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/9 "2017-04-20T08:36:56Z")

</div>

-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))  
[System information.log](https://code-saturne.org/forum/uploads/short-url/5h9qsN541urxeLGbPqUvYBqLJ6u.log) (18.3 KB)  
[config.log](https://code-saturne.org/forum/uploads/short-url/pMGMmB6pVl0EVDbkKtuuznPduMT.log) (192 KB)

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [April 21, 2017, 5:12am UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/10 "2017-04-21T05:12:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mik](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/958977/32.png) [@Mik](https://code-saturne.org/forum/u/Mik)\
**Post date:** [April 24, 2017, 2:17pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/11 "2017-04-24T14:17:31Z")

</div>

I tried to run in terminal “sudo apt install libxml2-dev”. On terminal there was an instruction that tells me to run a command like an “autoremove” in order to delete useless installation files. I restarted the computer and reopened the tutorial case but then:

/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

Again the same error.  
Now it only show mee this if I run the command line on terminal:

mik@mik-RC530-RC730:~$ sudo apt install libxml2-dev  
[sudo] password for mik:  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
libxml2-dev is already the newest version (2.9.3+dfsg1-1ubuntu0.2).  
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [April 24, 2017, 5:52pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/12 "2017-04-24T17:52:16Z")

</div>

Hello,

You probably need to reinstall Code\_Saturne after libxml2-dev.

Regards,

Yvan

---

<div class="post-metadata">

**Author:** ![Mik](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/958977/32.png) [@Mik](https://code-saturne.org/forum/u/Mik)\
**Post date:** [April 29, 2017, 2:46pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/13 "2017-04-29T14:46:42Z")

</div>

there is a proper way to do it? I don’t want to do more damage and i’m not sure i’m finding the right folder where to write the command line for “unistall”.

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [May 1, 2017, 12:19pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/14 "2017-05-01T12:19:17Z")

</div>

Hello,

Yes, is is better to first remove the libxml2 install in /usr/local. If you can find the directory frow which you installed it, rune “make uninstall”. But if you can’t find it, you can also check the time and date of /usr/local/lib/libxml2.so, and remove all files with that same date in /usr/local (at least /usr/local/_/libxml2_).

Then simply your installation/build directory (the one in which you have config.log and config.status for _Code\_Saturne_) and rerun your installation.

Best regards,

Yvan

---

<div class="post-metadata">

**Author:** ![Mik](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/958977/32.png) [@Mik](https://code-saturne.org/forum/u/Mik)\
**Post date:** [May 3, 2017, 10:03pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/15 "2017-05-03T22:03:12Z")

</div>

Well, maybe it worked! The installation folder of libxml2 was on my Documents folder and i make uninstall, then make clean and distclean. Then i re-runned the install\_saturne.py file and it did something. I don’t think there was any error. Now the annoying script have disappeared. The result is this…  
  
  
Code\_Saturne

* * *

Version: 4.2  
Path: /usr

Result directory:  
/home/mik/T\_junction/case1/RESU/20170504-0155  
  
  
\

* * *

Preparing calculation data

* * *

Single processor Code\_Saturne simulation.  
  
\

* * *

Preprocessing calculation

* * *

\

* * *

Starting calculation

* * *

\

* * *

Saving calculation results

* * *

Is this ok? In the tutorial’s image of this phase there are a “Cleaned working directory” line. Am i supposed to have that or is not so important for the results file? I’m becoming paranoic with this 😆😆

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [May 3, 2017, 10:56pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/16 "2017-05-03T22:56:20Z")

</div>

Hello,

Yes, this seems good. You can check logs/visualize results/etc at this stage.

Regards,

Yvan

---

<div class="post-metadata">

**Author:** ![Mik](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/958977/32.png) [@Mik](https://code-saturne.org/forum/u/Mik)\
**Post date:** [May 6, 2017, 2:09pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/17 "2017-05-06T14:09:38Z")

</div>

Well, thank you very much Yvan. It’s seems to be ok for now 😃

---

<div class="post-metadata">

**Author:** ![Mik](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/958977/32.png) [@Mik](https://code-saturne.org/forum/u/Mik)\
**Post date:** [May 27, 2017, 10:28am UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/18 "2017-05-27T10:28:38Z")

</div>

Hello, i’m posting here because i’ve again a problem processing an object with CS. I made up the mesh on SALOME and i’ve exported it in \*.unv file. ((because the \*.med file, during the check mesh phase, don’t seems to be supported by my version of CS 4.0.6))  
I’ve prepared everything for the processing and at the final stage “start calculation” there’s this message:

Code\_Saturne is running

* * *

Version: 4.0  
Path: /usr/local

Result directory:  
/home/mik/CASE1/RESU/20170527-1223  
  
  
Single processor Code\_Saturne simulation.  
  
\

* * *

Preparing calculation data

* * *

\

* * *

Preprocessing calculation

* * *

\

* * *

Starting calculation

* * *

solver script exited with status 1.

Error running the calculation.

Check Code\_Saturne log (listing) and error\* files for details.  
  
\

* * *

Saving calculation results

* * *

Error in calculation stage.

* * *

What is it?

---

<div class="post-metadata">

**Author:** ![Luciano\_Garelli](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/l/ad7895/32.png) [@Luciano\_Garelli](https://code-saturne.org/forum/u/Luciano_Garelli)\
**Post date:** [May 27, 2017, 11:39am UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/19 "2017-05-27T11:39:14Z")

</div>

Hello,

As the message says, “Check Code\_Saturne log (listing) and error\* files for details”. Check the listing file in the RESU directory in order to have more details about the error.

Regards,

Luciano

---

<div class="post-metadata">

**Author:** ![Mik](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/m/958977/32.png) [@Mik](https://code-saturne.org/forum/u/Mik)\
**Post date:** [May 27, 2017, 4:12pm UTC](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357/20 "2017-05-27T16:12:58Z")

</div>

I hope is this one i’ve attached. Tell me if you need anything about this problem because i’m new with this platform and i don’t know how to check in case of errors like this.  
[performance.log](https://code-saturne.org/forum/uploads/short-url/sBvstMgKlIBW59JvLq1GwcaLU8H.log) (211 Bytes)

[Next page](https://code-saturne.org/forum/t/problem-with-a-tutorial/1357.md?page=2)
