Hi,
Hope you are well.
I am using Code_Saturnev5.0.8 in Ubuntu 16.04 on a desktop machine and works fine. Now, I tried to install the same version in Ubuntu 18.04 in a laptop machine though I run into some errors while configuring the code , any ideas?
Please find attached the config log.
I used Salome v 9.3.0 on the machine.
Thank you in advance,
Costas
Installation_configuration_errors
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Installation_configuration_errors
- Attachments
-
- config.log
- (226.85 KiB) Downloaded 529 times
-
- Posts: 4206
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Installation_configuration_errors
Hello,
What is the error reported in the main window ?
The last errors that appear in the config.log are related to internationalization, but it is hard to distinguish blocking errors from feature detection errors when using only the config.log (which is useful when analyzing the cause of a given error).
So the error messages you have in the terminal from which you called configure could help determine which part of the config.log to analyze.
Best regards,
Yvan
What is the error reported in the main window ?
The last errors that appear in the config.log are related to internationalization, but it is hard to distinguish blocking errors from feature detection errors when using only the config.log (which is useful when analyzing the cause of a given error).
So the error messages you have in the terminal from which you called configure could help determine which part of the config.log to analyze.
Best regards,
Yvan
Re: Installation_configuration_errors
Hello,
Thanks a lot for your reply.
Basically when I tried to configure with the medcoupling it gave an error that it failed for the target 'fvm_medcoupling_la-fvm_to_medcoupling.lo'.
I tried without the med coupling, the installation goes well though when I try to run a case I get an error saying that:
'error while loading shared libraries: libhdf5.so.103: cannot open shared object file
Please find attached the screenshots
Thanks,
Costas
Thanks a lot for your reply.
Basically when I tried to configure with the medcoupling it gave an error that it failed for the target 'fvm_medcoupling_la-fvm_to_medcoupling.lo'.
I tried without the med coupling, the installation goes well though when I try to run a case I get an error saying that:
'error while loading shared libraries: libhdf5.so.103: cannot open shared object file
Please find attached the screenshots
Thanks,
Costas
-
- Posts: 4206
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Installation_configuration_errors
Hello,
The MEDCoupling issue may be due to a change in the MEDCoupling API. You may try to see if you are more sucessful with Code_Saturne 5.0.10, but you may need to switch to Code_Saturne 6.0 beta (or maybe 5.3) for recent MEDCoupling versions.
Or if you do not need MEDCoupling, just add --without-medcoupling to the configure options.
For the libhdf5 load issue, a more recent version (5.0.10 or 6.0 beta) may also help, otherwise you need to either add the path to HDF5 in LD_LIBRARY_PATH, add LDFLAGS="-Wl,-rpath -Wl,/<path_to_salome_directory_containing_libhdf5.so>, or run from a "salome context" or "salome shell".
V6.0 tries to make this easier, I am not sure about v5.0.10 (we added improvements but maybe not enough).
Best regards,
Yvan
The MEDCoupling issue may be due to a change in the MEDCoupling API. You may try to see if you are more sucessful with Code_Saturne 5.0.10, but you may need to switch to Code_Saturne 6.0 beta (or maybe 5.3) for recent MEDCoupling versions.
Or if you do not need MEDCoupling, just add --without-medcoupling to the configure options.
For the libhdf5 load issue, a more recent version (5.0.10 or 6.0 beta) may also help, otherwise you need to either add the path to HDF5 in LD_LIBRARY_PATH, add LDFLAGS="-Wl,-rpath -Wl,/<path_to_salome_directory_containing_libhdf5.so>, or run from a "salome context" or "salome shell".
V6.0 tries to make this easier, I am not sure about v5.0.10 (we added improvements but maybe not enough).
Best regards,
Yvan
Re: Installation_configuration_errors
Hello,
Appreciate a lot your quick response. I was reading about the LD path that you suggested in the installation guide though I was a bit confused. Could you be a bit more specific on how to add the flag with those arguments?
I run the following to configure:
sudo ./../src/code_saturne-5.0.10/configure --prefix=/opt/Code_Saturne/v5.0.10/arch/ PYTHON=/usr/bin/python --with-metis=/opt/salome/SALOME-9.3.0-UB18.04-SRC/BINARIES-UB18.04/metis --with-blas=/usr --with-scotch=/opt/salome/SALOME-9.3.0-UB18.04-SRC/BINARIES-UB18.04/scotch --with-cgns=/opt/salome/SALOME-9.3.0-UB18.04-SRC/BINARIES-UB18.04/cgns --with-mpi=/usr/share/mpi-default-dev --with-salome-gui=/opt/salome/SALOME-9.3.0-UB18.04-SRC --with-salome-kernel=/opt/salome/SALOME-9.3.0-UB18.04-SRC --with-med=salome --with-medcoupling=/opt/salome/SALOME-9.3.0-UB18.04-SRC/BINARIES-UB18.04/MEDCOUPLING --with-hdf5=salome
Best regards,
Costas
Appreciate a lot your quick response. I was reading about the LD path that you suggested in the installation guide though I was a bit confused. Could you be a bit more specific on how to add the flag with those arguments?
I run the following to configure:
sudo ./../src/code_saturne-5.0.10/configure --prefix=/opt/Code_Saturne/v5.0.10/arch/ PYTHON=/usr/bin/python --with-metis=/opt/salome/SALOME-9.3.0-UB18.04-SRC/BINARIES-UB18.04/metis --with-blas=/usr --with-scotch=/opt/salome/SALOME-9.3.0-UB18.04-SRC/BINARIES-UB18.04/scotch --with-cgns=/opt/salome/SALOME-9.3.0-UB18.04-SRC/BINARIES-UB18.04/cgns --with-mpi=/usr/share/mpi-default-dev --with-salome-gui=/opt/salome/SALOME-9.3.0-UB18.04-SRC --with-salome-kernel=/opt/salome/SALOME-9.3.0-UB18.04-SRC --with-med=salome --with-medcoupling=/opt/salome/SALOME-9.3.0-UB18.04-SRC/BINARIES-UB18.04/MEDCOUPLING --with-hdf5=salome
Best regards,
Costas
-
- Posts: 4206
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Installation_configuration_errors
Hello,
I am not sure of the path for the libraries in the SALOME-9.3.0-UB18.04 build of Salome. The --with-salome option allows finding this using an environment variable. If you search for the libhdf5.so file in the SALOME structure, you will have its directory name.
Given that directory name <hdf5_libdir>, you can add "LDFLAGS=-Wl,-rpath -Wl,<hdf5_libdir>" to the configure line. You can also simply use "export LD_LIBRARY_PATH=<hdf5_libdir>:$LD_LIBRARY_PATH" before running Code_Saturne if you do not want to reinstall or simply check you found the correct pas first.
Best regards,
Yvan
I am not sure of the path for the libraries in the SALOME-9.3.0-UB18.04 build of Salome. The --with-salome option allows finding this using an environment variable. If you search for the libhdf5.so file in the SALOME structure, you will have its directory name.
Given that directory name <hdf5_libdir>, you can add "LDFLAGS=-Wl,-rpath -Wl,<hdf5_libdir>" to the configure line. You can also simply use "export LD_LIBRARY_PATH=<hdf5_libdir>:$LD_LIBRARY_PATH" before running Code_Saturne if you do not want to reinstall or simply check you found the correct pas first.
Best regards,
Yvan
Re: Installation_configuration_errors
Hi,
Thanks a lot for the support it worked!!
Best regards,
Costas
Thanks a lot for the support it worked!!
Best regards,
Costas