|
[Sponsors] |
February 8, 2006, 01:01 |
Hi all
I am getting the foll
|
#1 |
Senior Member
kumar
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
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 !!! |
|
February 8, 2006, 04:35 |
- Why are you doing an Allwmak
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
- 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? |
|
February 8, 2006, 14:41 |
Hi Mattijis,
Thanks a lot f
|
#3 |
Senior Member
kumar
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
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 |
|
March 31, 2006, 11:40 |
Hi Mattijis an Kumar
I'm a ne
|
#4 |
New Member
Martinez Ramirez Bernardo
Join Date: Mar 2009
Location: Poitiers, Vienne, France
Posts: 4
Rep Power: 17 |
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 |
|
March 31, 2006, 13:47 |
I also got this problem on our
|
#5 |
Senior Member
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17 |
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?
__________________
Xiaofeng Liu, Ph.D., P.E., Assistant Professor Department of Civil and Environmental Engineering Penn State University 223B Sackett Building University Park, PA 16802 Web: http://water.engr.psu.edu/liu/ |
|
March 31, 2006, 14:36 |
Thanks Xlaofeng Llo by your me
|
#6 |
New Member
Martinez Ramirez Bernardo
Join Date: Mar 2009
Location: Poitiers, Vienne, France
Posts: 4
Rep Power: 17 |
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 |
|
March 31, 2006, 15:16 |
Hi Martinez
I was not able
|
#7 |
Senior Member
kumar
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
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 |
|
March 31, 2006, 17:08 |
After googling, I found it may
|
#8 |
Senior Member
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17 |
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.
__________________
Xiaofeng Liu, Ph.D., P.E., Assistant Professor Department of Civil and Environmental Engineering Penn State University 223B Sackett Building University Park, PA 16802 Web: http://water.engr.psu.edu/liu/ |
|
April 3, 2006, 05:32 |
Hi all
Thanks a lot for yours
|
#9 |
New Member
Martinez Ramirez Bernardo
Join Date: Mar 2009
Location: Poitiers, Vienne, France
Posts: 4
Rep Power: 17 |
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 |
|
April 3, 2006, 05:36 |
Hi all
Thanks a lot for yours
|
#10 |
New Member
Martinez Ramirez Bernardo
Join Date: Mar 2009
Location: Poitiers, Vienne, France
Posts: 4
Rep Power: 17 |
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 |
|
April 3, 2006, 08:15 |
Or you can download the source
|
#11 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
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. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Allwmake without old ParaView | kar | ParaView | 3 | May 20, 2008 12:43 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 20:30 |
UDF errors | JSM | FLUENT | 2 | August 28, 2007 23:37 |
Recursive wmake all doesnbt find Allwmake | hannes | OpenFOAM Bugs | 1 | April 18, 2007 08:15 |
errors? | varshavian | FLUENT | 2 | December 20, 2002 09:00 |