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

Error while running Allwmake

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 9, 2012, 03:06
Default Error while running Allwmake
  #1
New Member
 
Indrajit
Join Date: Mar 2012
Location: bangalore
Posts: 6
Rep Power: 5
Indrajit is on a distinguished road
Send a message via Skype™ to Indrajit
Dear All,

I finding error below while running Allwmake.
I trying install OpenFAOM 2. on RedHat Linux 5.1.19 64bit ------------------------------------------------------------------------------------------
lidEquilibriumDisplacementFoam
/usr/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[2]: *** [/root/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/solidEquilibriumDisplacementFoam] Error 1
make[2]: Leaving directory `/root/OpenFOAM/OpenFOAM-2.1.0/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
make[1]: *** [solidEquilibriumDisplacementFoam] Error 2
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/root/OpenFOAM/OpenFOAM-2.1.0/applications/solvers/stressAnalysis'
make: *** [stressAnalysis] Error 2
make: Target `application' not remade because of errors.
[root@localhost OpenFOAM-2.1.0]#
------------------------------------------------------------------------------------------------------

Thanks In Advance,
Indrajit
Indrajit is offline   Reply With Quote

Old   April 9, 2012, 05:03
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Indrajit,

  • What gcc and g++ versions are you using?
    Code:
    gcc --version
    gcc --version
    Anything below 4.3.3 will not work.
  • The first error is usually the one to blame. Run:
    Code:
    ./Allwmake > make.log 2>&1
    This way you'll get the whole output in the file "make.log". Then pack the file and attach on your next post.
    For packing the file, you can sue this command:
    Code:
    tar -czf make.log.tar.gz make.log
    And then attach the file "make.log.tar.gz".
And why aren't you using CentFOAM?

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   April 9, 2012, 06:11
Default Thanks Bruno
  #3
New Member
 
Indrajit
Join Date: Mar 2012
Location: bangalore
Posts: 6
Rep Power: 5
Indrajit is on a distinguished road
Send a message via Skype™ to Indrajit
Thank you Bruno for your quick reply.

You are right i am using old version of gcc (4.1)

I have downloaded new one 4.4, but i don't know how to install it.

please guide me.

I don't know about CentFOAM , can you guide .

Thanks,
Indrajit
Indrajit is offline   Reply With Quote

Old   April 9, 2012, 08:14
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Here you go, CentFOAM's wiki page that explains it all: http://sourceforge.net/apps/mediawik...itle=Main_Page

Here on the forum other people have detailed a bit how to install OpenFOAM on CentOS, RHEL and SL, but usually the best is to use CentFOAM.
wyldckat 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
What do you CFD guys do during a long simulation running? bearcat Main CFD Forum 5 July 23, 2009 08:08
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 07:52
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
star is not running the simulation in windows Arnab CD-adapco 1 August 2, 2004 02:40


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