Page 1 of 1

Some basic doubts about the installation

Posted: Tue Mar 20, 2012 3:32 pm
by arnoldpredator
Hi

Well I had installed code saturne 2.0 because I wanted a stable version, but I had problems with the med files I created in salome 6.4 because I exported 3.0 med files and code saturne only could read 2.3.6 med files, I think.

So I read that code saturne 2.1.5 had support for 3.0 med files, so I uninstalled saturne 2.0 and I installed 2.1.5 version. The problem is that I get the same error when I import a 3.0 med file, saturne can't read it, What can I do? Could I modify a configuration file or should I reinstall?.

This is the error message when I click "check mesh" on the gui of code saturne:


code_saturne version 2.1.5 (built lun 12 mar 2012 20:37:19 CET)
CGNS 2.5.5 file format support
MED 2.3.6 (HDF5 1.8.4) file format support
Reading of compressed files ('.gz') with Zlib 1.2.3.4
Case configuration
------------------
Date : mar 20 mar 2012 15:21:16 CET
System : Linux 3.0.0-15-generic
Machine : maquina
Processor : AMD Athlon(tm) II X2 215 Processor
Memory : 3798904
User : cristo (santi)
Directory : /home/cristo/amparo/caso1/RESU/check_mesh
Case name : preprocess
Mesh file : /home/cristo/amparo/MESH/esferanetgen3.med
Reading mesh from file in MED (EDF/CEA) format
----------------------
Mesh file: /home/cristo/amparo/MESH/esferanetgen3.med
Mesh name: Mesh_1
Error in preprocessor execution
===============================
ecs_pre_med.c:417: Fatal error.
MED: error reading file "/home/cristo/amparo/MESH/esferanetgen3.med".
Error reading coordinates.
Call stack
1: 0x42dd20 (cs_preprocess)
2: 0x40f3bb (cs_preprocess)
3: 0x406749 (cs_preprocess)
4: 0x7f4c7187e30d (libc.so.6)
5: 0x406f71 (cs_preprocess)
End of stack

-------------------------------------------------------------------------------


Below I will put my configuration after running ./configure, Is it right? Should I modify something? Can I modify this parameters with a configuration file or should I reinstall? Is it a good idea to use the installer of the version 2.1.4?. I am a little bit new with linux and it was the first time I installed something with ./configure, make, makefile.

Configuration options:
use debugging code: no
use malloc hooks: no
use graphical user interface: yes
use long integers: no
Zlib (gzipped file) support: yes
MPI (Message Passing Interface) support: yes
MPI I/O support: yes
MPI2 one-sided communication support: yes
BLAS (Basic Linear Algebra Subprograms) support: yes
Libxml2 (XML Reader) support: yes
ParMETIS (Parallel Graph Partitioning) support: no
METIS (Graph Partitioning) support: no
PT-SCOTCH (Parallel Graph Partitioning) support: no
SCOTCH (Graph Partitioning) support: no
ADF support: no
CCM support: no
HDF (Hierarchical Data Format) support: yes
CGNS (CFD General Notation System) support: yes
MED (Model for Exchange of Data) support: yes
MED MPI I/O support: no
SYRTHES 3 coupling support: no
IP socket support (for SYRTHES 3 or CFD_Proxy): yes
Dynamic loader support (for YACS): yes
poll support (for CFD Proxy): yes
posix_spawn support (for CFD Proxy): yes
fork/execve support (for CFD Proxy): yes

----------

I forgot to mention that I tried to run an example but when I arrived at the final step, I clicked on the run calculation button but nothing happened, I don't know what file should I upload to show what was the cause of the problem, I searched on var for a log file with some name related with code saturne but I did not find anything, What information should I provide to you to understand the problem?.

Re: Some basic doubts about the installation

Posted: Tue Mar 20, 2012 4:02 pm
by Yvan Fournier
Hello,

Version 2.0 can also support MED 3.0, but you have to build it with a MED 3.0.x library, not with a MED 2.3 library. Starting with 2.0.2, the automatic installer should install MED 3.0 instead of MED 2.3, but if this fails and you already have a MED 2.3.6 installed in system paths (such as with a Debian or Ubuntu package), the wrong version might be used.

Version 2.1.5 should also use MED 3, so I suspect that if your installation uses MED 2.3, you already had an install of MED 2.3, which was detected instead of 3.0 (which is either a bug or an error in tour installer setup file, so you should check your setup file for the MED path or options)

The problem with the "run" button is a separate issue, and should have been fixed after 2.1.5 (bugfix 2.1.6 will be released very soon).

Best regards,

Yvan

Re: Some basic doubts about the installation

Posted: Sat Mar 31, 2012 1:00 pm
by arnoldpredator
Hi Yvan

Well I tried some things but It did not work, for sure due to my lack of knowledge not for a bug.

Then I used the installer of the version 2.1.4 and now it reads mesh files in med 3.0 format.

Thanks for your answer.

Regards.