Some Issues on OpenFOAM

When wmake some applications of OpenFOAM, there is a problem:

......
/usr/bin/ld: skipping incompatible /home/abc/OpenFOAM/OpenFOAM-1.3
/lib/linuxGcc4DPOpt/libfiniteVolume.so when searching for -lfiniteVolume
/usr/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make: *** [/home/abc/OpenFOAM/OpenFOAM-1.3
/applications/bin/linuxGcc4DPOpt/icoFoam] Error 1

I find the solution on the OpenFOAM Discussion: if the architechture is x86_64, the environment variable $WM_64 should be turned on, which can be set as export WM_64=on in the OpenFOAM bashrc file.

Afterwards, there still is another problem:

...
/usr/bin/ld: cannot find -liberty
collect2: ld returned 1 exit status
make: *** [/home/abc/OpenFOAM/OpenFOAM-1.3/
applications/bin/linuxAMD64Gcc4DPOpt/icoFoam] Error 1

Also, there is a solution on the OpenFOAM Discussion: GNU binutils-devel package should be installed, because liberty is one of the function of binutils package.

(Tested on Fedora Core 6)

   Send article as PDF   

One Reply to “Some Issues on OpenFOAM”

  1. I agree it’s important to address one of the very acute college and university topics of today – that the issue of essay and research
    paper writing. A couple of weeks ago I had to
    compose an article on American Civil War, which is clearly
    not my field of expertise. Two days prior to the deadline I
    was trying to find samples of comparable papers when a groupmate shared this link with mehttps://essayservice.com.
    I can recommend this platform speaking from my experience.
    In case you wonder what grade I received, it was a strong A+!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.