Page 1 of 1

error import mesh file med saturne2.2

Posted: Thu May 10, 2012 3:24 pm
by biko86
Hello,
i've got a problem when import a mesh file .med in saturne2.2.
When i import fluid mesh and i check it i receve this errors:


/usr/local/libexec/code_saturne/cs_preprocess --post-error ensight --case
preprocess /home/andrea/studio54/MESH/meshfluidamed3giusta.med

.------------------------------.
| |
| Code_Saturne Preprocessor |
| |
`------------------------------'

code_saturne version 2.2.1 (built gio 10 mag 2012 13:04:56 CEST)

CGNS 2.5.5 file format support
MED 3.0.3 (HDF5 1.8.4) file format support
Reading of compressed files ('.gz') with Zlib 1.2.3.4



Case configuration
------------------

Date : gio 10 mag 2012 16:22:38 CEST
System : Linux 3.2.0-24-generic
Machine : andrea-Aspire-7720
Processor : Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz
Memory : 4048336
User : andrea (andrea)
Directory : /home/andrea/studio54/fluido/RESU/check_mesh

Case name : preprocess
Mesh file : /home/andrea/studio54/MESH/meshfluidamed3giusta.med



Reading mesh from file in MED (EDF/CEA) format
----------------------
Mesh file: /home/andrea/studio54/MESH/meshfluidamed3giusta.med


Mesh name: Mesh_1

Number of vertices : 4613

Warning
=======
The MED mesh contains 241 elements of type seg2
which are ignored by the Preprocessor.

Number of faces : 3976
Family 4 : 240
Family 5 : 3736
Number of cells : 21243
Family 0 : 21243

Wall-clock time: 0.011971 s; CPU time: 0.012000 s


Done reading mesh
-----------------
Theoretical mesh size: 394.330 Kb
Theoretical current memory: 502.000 Kb
Theoretical peak memory: 1.169 Mb
Total memory used: 58.910 Mb

Domain coordinate extents:

[ 0.00000e+00, 0.00000e+00, 0.00000e+00]
[ 2.00000e+00, 2.00000e+00, 1.00000e+00]
Number of elements tria3 : 3976
Number of elements tetra4 : 21243



Defining families
-----------------


Element orientation check.


End of conversion to descending connectivity
--------------------------------------------
Theoretical mesh size: 1.003 Mb
Theoretical current memory: 1.108 Mb
Theoretical peak memory: 3.194 Mb
Total memory used: 60.840 Mb


Main mesh properties
--------------------

Number of cells: 21243
Number of internal faces: 40498
Number of boundary faces: 3976
Number of vertices: 4613


Definition of face and cell families
------------------------------------

Family 1
Group "coupled"
Number of boundary faces : 240
Family 2
Group "wall"
Number of boundary faces : 3736
Family 2
Default family
(no group)
Number of cells : 21243
Number of internal faces : 40498


Write output for Kernel
-----------------------

Opening file: mesh_input

Wrote: "start_block:dimensions"
Wrote: "n_cells" ; Type: "u8"; Size: 1
Wrote: "n_faces" ; Type: "u8"; Size: 1
Wrote: "n_vertices" ; Type: "u8"; Size: 1
Wrote: "face_vertices_size" ; Type: "u8"; Size: 1
Wrote: "n_group_classes" ; Type: "i4"; Size: 1
Wrote: "n_group_class_props_max" ; Type: "i4"; Size: 1
Wrote: "n_groups" ; Type: "u8"; Size: 1
Wrote: "group_name_index" ; Type: "i4"; Size: 3
Wrote: "group_name" ; Type: "c "; Size: 13
Wrote: "group_class_properties" ; Type: "i4"; Size: 3
Wrote: "end_block:dimensions"
Wrote: "start_block:data"
Wrote: "face_cells" ; Type: "i4"; Size: 88948
Wrote: "cell_group_class_id" ; Type: "i4"; Size: 21243
Wrote: "face_group_class_id" ; Type: "i4"; Size: 44474
Wrote: "face_vertices_index" ; Type: "u8"; Size: 44475
Wrote: "face_vertices" ; Type: "i4"; Size: 133422
Wrote: "vertex_coords" ; Type: "r8"; Size: 13839
Wrote: "end_block:data"
Wrote: "EOF"

Closing file: mesh_input


Time and memory summary
-----------------------

User CPU time (sec) : 0.06
System CPU time (sec) : 0.01
Total time (sec) : 0.08
Total CPU time / Total time : 0.93

Memory use summary:

Total memory used: 60.840 Mb
Theoretical instrumented dynamic memory: 3.194 Mb


.-----------------------.
| |
| Preprocessor finish |
| |
`-----------------------'


/usr/local/libexec/code_saturne/cs_solver: error while loading shared libraries: libsaturne.so.0: cannot open shared object file: No such file or directory

Re: error import mesh file med saturne2.2

Posted: Thu May 10, 2012 3:25 pm
by biko86
anybody could help me? thank you all

Re: error import mesh file med saturne2.2

Posted: Thu May 10, 2012 4:25 pm
by Yvan Fournier
Hello,

It seems the shared library cache is not updated (this has been reported in the past, but we have not reproduced in on our Linux distributions).

There are 2 options:

If you have administrator (or sudo) priviledges, run: /sbin/ldconfig

Otherwise, add:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

to your .profile file.

Best regards,

Yvan

Re: error import mesh file med saturne2.2

Posted: Thu May 10, 2012 4:37 pm
by biko86
Thank you Yvan, i've just solved running ubuntu updates (i was on a fresh installation of ubuntu 12.04 ) checking the option "not supported updates (precise-backports)".
After the reboot saturne could read the mesh .med . I still don't know why but we could set the post as solved !

Re: error import mesh file med saturne2.2

Posted: Fri May 11, 2012 10:32 am
by Yvan Fournier
Hello,

OK, fine. Actually, when you run an Ubuntu update, it probably calls /sbin/ldconfig, so the problem may have been solved in an indirect manner.

Regards,

Yvan