CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Errors in allwmake

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 8, 2006, 02:01
Default Hi all I am getting the foll
  #1
Senior Member
 
kumar
Join Date: Mar 2009
Posts: 112
Rep Power: 8
kumar2 is on a distinguished road
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 !!!
kumar2 is offline   Reply With Quote

Old   February 8, 2006, 05:35
Default - Why are you doing an Allwmak
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
- 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?
mattijs is offline   Reply With Quote

Old   February 8, 2006, 15:41
Default Hi Mattijis, Thanks a lot f
  #3
Senior Member
 
kumar
Join Date: Mar 2009
Posts: 112
Rep Power: 8
kumar2 is on a distinguished road
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
kumar2 is offline   Reply With Quote

Old   March 31, 2006, 11:40
Default 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: 8
bernardomr is on a distinguished road
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
bernardomr is offline   Reply With Quote

Old   March 31, 2006, 13:47
Default I also got this problem on our
  #5
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 8
liu is on a distinguished road
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/
liu is offline   Reply With Quote

Old   March 31, 2006, 14:36
Default Thanks Xlaofeng Llo by your me
  #6
New Member
 
Martinez Ramirez Bernardo
Join Date: Mar 2009
Location: Poitiers, Vienne, France
Posts: 4
Rep Power: 8
bernardomr is on a distinguished road
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
bernardomr is offline   Reply With Quote

Old   March 31, 2006, 15:16
Default Hi Martinez I was not able
  #7
Senior Member
 
kumar
Join Date: Mar 2009
Posts: 112
Rep Power: 8
kumar2 is on a distinguished road
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
kumar2 is offline   Reply With Quote

Old   March 31, 2006, 17:08
Default After googling, I found it may
  #8
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 8
liu is on a distinguished road
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/
liu is offline   Reply With Quote

Old   April 3, 2006, 05:32
Default 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: 8
bernardomr is on a distinguished road
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 is offline   Reply With Quote

Old   April 3, 2006, 05:36
Default 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: 8
bernardomr is on a distinguished road
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 is offline   Reply With Quote

Old   April 3, 2006, 08:15
Default Or you can download the source
  #11
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
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.
mattijs is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allwmake without old ParaView kar OpenFOAM Paraview & paraFoam 3 May 20, 2008 12:43
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21: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 10:00


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