Error while reading mesh file with saturne 2.0.2

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Romain Lopez

Error while reading mesh file with saturne 2.0.2

Post by Romain Lopez »

Hello,
The install of code_saturne 2.0.2 is ok, but when we did a check-mesh on a mesh file we have an error :
/usr/local/bin/cs_preprocess: error while loading shared libraries: libhdf5.so.0: cannot open shared object file: No such file or directory

We don't understand this error because the library libhdf5.so.0 exists but not in the directory /usr/local/bin.
 
Besides, cs_preprocess is not install in this directory. Where can we change this link ?
 
Thank you.
 
Romain LOPEZ
Yvan Fournier

Re: Error while reading mesh file with saturne 2.0.2

Post by Yvan Fournier »

Hello,
In which directory is the code installed ? Do you have multiple installs (or traces from previous failed install attempts) ?
Did you use the installer or a manual install ?
Best regards,
  Yvan
Romain Lopez

Re: Error while reading mesh file with saturne 2.0.2

Post by Romain Lopez »

Hello,
I use CAELinux and the version 2.0.1 of code_saturne was already installed and it use python and hdf5 of salome.
I resolve the problem installing the new version of HDF5 and now all is ok.
Thank you
Best regards
Romain
Tsubasa
Posts: 97
Joined: Fri Nov 20, 2020 4:09 am

Re: Error while reading mesh file with saturne 2.0.2

Post by Tsubasa »

Hello,

I face a same problem.

Could you tell me how to solve the problem?

What version of HDF5 did you install?
Yvan Fournier
Posts: 3424
Joined: Mon Feb 20, 2012 3:25 pm

Re: Error while reading mesh file with saturne 2.0.2

Post by Yvan Fournier »

Hello,

As you are reactivating an old post, the version of code_saturne you are using is probably different. Could you specify the version ?

Could you also specify the system info recommended in the forum usage recommendations ?

Regards,

Yvan
Tsubasa
Posts: 97
Joined: Fri Nov 20, 2020 4:09 am

Re: Error while reading mesh file with saturne 2.0.2

Post by Tsubasa »

To solve the problem, I run "export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"" before lunching code saturne.
Yvan Fournier
Posts: 3424
Joined: Mon Feb 20, 2012 3:25 pm

Re: Error while reading mesh file with saturne 2.0.2

Post by Yvan Fournier »

Hello,

This does not answer my questions.

Regards,

Yvan
Tsubasa
Posts: 97
Joined: Fri Nov 20, 2020 4:09 am

Re: Error while reading mesh file with saturne 2.0.2

Post by Tsubasa »

Hello,

This kind of problem often occurred as following
viewtopic.php?f=3&t=2746
even if we follow the installation process.

To solve the problem such as
./cs_solver: error while loading shared libraries: libhdf5.so.103: cannot open shared object file: No such file or directory,
we have to run
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH",
before lunching code saturne.
Yvan Fournier
Posts: 3424
Joined: Mon Feb 20, 2012 3:25 pm

Re: Error while reading mesh file with saturne 2.0.2

Post by Yvan Fournier »

Hello,

Yes, I understand that, also from the other threads on this forum. My question was related to which version of the code you are using, since you are posting on an old thread related to code_saturne 2.0. It is better to only use the more current threads, to avoid confusing everyone.

I will probably end up deleting the recent messages on this thread, since they are redundant with other threads, and only add confusion.

Regards,

Yvan
Tsubasa
Posts: 97
Joined: Fri Nov 20, 2020 4:09 am

Re: Error while reading mesh file with saturne 2.0.2

Post by Tsubasa »

Hello,

Sorry for that.

I faced the problem with code_saturne 6.0 version.

Ok, I also think it is better to delete these message.

Thank you.
Post Reply