Hi!
I installed code_saturne with salome integration and it works proberly. I followed the mixing ellbow tutorial up the point where I should click the run button.
Then the disappointment:
/usr/local/apps/Code_Saturne-4.0.0/libexec/code_saturne/cs_solver: /home/christian/salome/Salome-V7_5_1-LGPL-x86_64/prerequisites/debianForSalome/lib/libgfortran.so.3: version `GFORTRAN_1.4’ not found (required by /usr/local/apps/Code_Saturne-4.0.0/lib/libsaturne.so.0)
Can you help me with that? seems to be one of my last problems.
Did you run ldconfig as root at the end of the install ?
Otherwise, this is probably a conflict between similar versions but differently installed versions of the gfortran library in your System and in SALOME (the version from your system, used to build the code, should be used; not the one from SALOME, for its other modules).
So try adding “FC=gfortran” to your configure command.
Hi!
Thanks for your fast reply. I did not run ldconfig. What exactly will it do? shell I run it also when I use FC=gfortran?
I suppose that I will have to add FC=gfortran after all the
…–with-med commands?
Hey.
I added the command but still get the same result when starting the calculation. He still asks for version 1_4.
I tried to figure it out from the config.log file but did not unterstand it properly. Is there an issue with finding the gfortran version because gfortran -v does not work (–version would do)?
When I type in the terminal gfortran --version I get
gfortran --version
GNU Fortran (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
Thanks for further hints.
Hi,
do you want to have the output before or after installation? I guess after.
I did not source my Salome Installation. Should I have done before installation of code_saturne?
which file do I have to source?
Thanks for your help, I would be really happy to start getting more into cs, since I really want to test the turbomachinery options.
After the installation is more important, but comparing before/after may be useful.
You do not need to source anything (the Code_Saturne installer usually does what is required), but some people may need to source the SALOME environment on some machines, so it is useful to know as a description of the environment.
Also, having the output of “env” (your environment variables) might provide useful info, especiallt for the *PATH variables.
The ldd command:
ldd: /usr/local/apps/Code_Saturne-4.0.0/libexec/code_saturne: Keine reguläre Datei (means it is not a regular file)
The outputs after the installation will follow tomorrow.
Which file of the salome installation do I have to source exactly? When I wanted to open it seperately, I did it by switching to the directory. With the saturne–with-salome installation I just had to open saturne with salome
I see nothing which seems to explain the issue in your variables…
Trying to think about the error, when the code fails to run, are you running the tutorial from SALOME or standalone (i.e. “code_saturne salome” or “code_saturne gui”) ?
In the SALOME case, additional files are sourced, so if you have the error in both cases, I still have no explaination, but if you have it only in one of the 2 cases, we can work from there…
I kept the original adding “_old” at the end, and removed “.0.0” from the other to have the correct name…and it works ! Well at least it seems to work, I don’t have the error message anymore. The library coming with Salome might be incomplete or something…
Create a link a that lib for you libgfortran problem. This directory was have in saturne error, (I to use module that saturne (CFDSTUDY) on salome_meca, is the same)