CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Errors in allwmake (https://www.cfd-online.com/Forums/openfoam-installation/57670-errors-allwmake.html)

kumar2 February 8, 2006 01:01

Hi all I am getting the foll
 
Hi all
I am getting the following errors when i Allwmake

For example when Allwmake makes bubbleFoam.C it looks for the file crtl.o in /usr/bin/ld , but cannot find this files. So it exits with Error. This happens for almost all .C solvers but the missing files and locations are different.

Please somebody help me !! This is the 2nd week of my installation !!!

mattijs February 8, 2006 04:35

- Why are you doing an Allwmak
 
- Why are you doing an Allwmake? The binaries should run out of the box (if you're on Linux)

- Did you install all the OS development tools?

- Do 'which gcc'. Are you running the one you downloaded from OpenFOAM?

kumar2 February 8, 2006 14:41

Hi Mattijis, Thanks a lot f
 
Hi Mattijis,

Thanks a lot for your reply.

I am installing the code on a RH AS3 64bit Xeon dell cluster.

1. I first tried with just the binary ( and all other files which are the gcc4.0.1 , java & paraview , downloaded from OpenFOAM site) but there were 2 critical errors in the foamInstallationTest . Both the errors were related to the path of the gcc & java compilers.
Then i decided to remake the code.


2. I did the Allwmake . although there were errors when i do the Allwmake , the subsequent foamInstallationTest did NOT HAVE ANY ERRORS.

3. Allwmake was done with the gcc-4.0.1 downloaded from OpenFOAM site.

But right now when say for example I call blockMesh , there is a fatal error since I have not given the <root> and <case> . Hopefully this will also go away. If it doesnot i will do a new post.

Thanks a lot once again

kumar

bernardomr March 31, 2006 11:40

Hi Mattijis an Kumar I'm a ne
 
Hi Mattijis an Kumar
I'm a new OpenFOAM user and not linux expert
I tried to install OpenFOAM-1.2 (I did the foamInstallationTest and all was Ok!) but I've the same problem like Kuman. When I did the FoamX command the system send me the next mesage:
nsd:/lib/i686/libc.so.6:version `GLIBC_2.3'not found (required by/ home/open/OpenFOAM/linux/gcc-4.0.1/lib/libstdc++.so.6)

my linux version is (so old, I think):
Red Hat Linux release 7.2 (Enigma)
Kernel 2.4.7-10 enterprise on an i686

When I downloaded OpenFoam, I downloaded the "gcc-4.0.1" also.
What I need to do to solve mi problem?
I need to recopile the gcc sources first and then run the "Allwmake" scrip in the "src" directory for recompile the OpenFoam sources. My question is How I do that? Could you advise or help me?
thanks in advance
bernardo

liu March 31, 2006 13:47

I also got this problem on our
 
I also got this problem on our Unversity's cluster for v1.3:
.../libc.so.6:version `GLIBC_2.3'not found ...

On my laptop, it's ok since I updated to FC5. While on the cluster (where I have no root control), gcc's version is 3.2.1. I believe it's related to the problem. But I don't know how to solved.

I tried to recompile gcc-4.1.0 in my home directory. It seems there is no new libc.so.6.

Any thought?

bernardomr March 31, 2006 14:36

Thanks Xlaofeng Llo by your me
 
Thanks Xlaofeng Llo by your message

I'think that the best solution is try a new linux version like FC5 like you done.

In any case I'll test to understand how to compile gcc

thanks
merci
bernardo

kumar2 March 31, 2006 15:16

Hi Martinez I was not able
 
Hi Martinez

I was not able to install the OpenFoam on RH7.3 & 32 bit . But i finally installed on fedora & RH enterprise - both with 64 bit .

i feel RH7.3 is too old . may be you should go for a newer RH /Fedora and try 64 bit .

hope this helps

regards

kumar

liu March 31, 2006 17:08

After googling, I found it may
 
After googling, I found it maybe a bad news.
The precompiled binary code is build on newer version of gnu c library. For a old linux platform, it will not work if the gnu C lib is not updated.

For the situation like me where I don't have the root control, the only way out is to recompile everything. The only concern I have is if gcc-4.1.0 will get along with the old lib already in the system.

Let's see what will happen.

bernardomr April 3, 2006 05:32

Hi all Thanks a lot for yours
 
Hi all
Thanks a lot for yours advises.
That's true. I think to change
my RH7.32 for the new version
is the only solution (but have
an other CFD-RANScode that I can't
install in a new version so I'll
try to install OpenFOAM in another
cumputer with a new linux version).
Thank and see you
regards
bernardo

bernardomr April 3, 2006 05:36

Hi all Thanks a lot for yours
 
Hi all
Thanks a lot for yours advises.
That's true. I think to change
my RH7.32 for the new version
is the only solution (but have
an other CFD-RANScode that I can't
install in a new version so I'll
try to install OpenFOAM in another
cumputer with a new linux version).
Thank and see you
regards
bernardo

mattijs April 3, 2006 08:15

Or you can download the source
 
Or you can download the sources for gcc-4.1.0 and recompile it yourself. Make sure you install it into the correct position under the OpenFOAM tree.

Once gcc is running use that to recompile OpenFOAM.


All times are GMT -4. The time now is 20:59.