Page 2 of 3

Re: Problem with a tutorial

Posted: Mon Apr 24, 2017 3:17 pm
by Mik
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.

Re: Problem with a tutorial

Posted: Mon Apr 24, 2017 6:52 pm
by Yvan Fournier
Hello,

You probably need to reinstall Code_Saturne after libxml2-dev.

Regards,

Yvan

Re: Problem with a tutorial

Posted: Sat Apr 29, 2017 3:46 pm
by Mik
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".

Re: Problem with a tutorial

Posted: Mon May 01, 2017 1:19 pm
by Yvan Fournier
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

Re: Problem with a tutorial

Posted: Wed May 03, 2017 11:03 pm
by Mik
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 :lol: :lol:

Re: Problem with a tutorial

Posted: Wed May 03, 2017 11:56 pm
by Yvan Fournier
Hello,

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

Regards,

Yvan

Re: Problem with a tutorial

Posted: Sat May 06, 2017 3:09 pm
by Mik
Well, thank you very much Yvan. It's seems to be ok for now :D

Re: Problem with a tutorial

Posted: Sat May 27, 2017 11:28 am
by Mik
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?

Re: Problem with a tutorial

Posted: Sat May 27, 2017 12:39 pm
by Luciano Garelli
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

Re: Problem with a tutorial

Posted: Sat May 27, 2017 5:12 pm
by Mik
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.