CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   OpenFOAM-1.6-ext on Wheezy (

eternityboy July 6, 2013 07:16

OpenFOAM-1.6-ext on Wheezy
Anyone to compile OpenFOAM extended on Debian Wheezy 7?

i have some "/usr/bin/ld cannot find -lOpenFOAM" problems when compiling

wyldckat July 7, 2013 06:27

Greetings Nikita,

Since you're using Debian Wheezy, then I suggest you follow the instructions that are meant for Ubuntu 12.04:

Best regards,

eternityboy July 7, 2013 06:29

Trying right now.. in a hour gonna say something..

eternityboy July 7, 2013 06:31

12.04 or 12.10

cause, Wheezy has GCC47

wyldckat July 7, 2013 06:33

Good point! Then try following the instructions for Ubuntu 12.10.

eternityboy July 7, 2013 06:35

should i have something with Make ? cause, in the standard package i dont have make installed.
so, i've installed make as well.. but, could be something else..

wyldckat July 7, 2013 06:37

Just follow the instructions ;)
make will be installed along with the "build-essential" package :)

eternityboy July 7, 2013 06:43

apt-get install git flex bison rpm g++ zlib1g-dev binutils-dev \
openmpi-bin libopenmpi-dev paraview libscotch-dev cmake libstdc++5

nothing about build-essential here..

so, i removed make, and made apt-get install build-essential -- and, for sure, there is make inside...
but, seems to me, that after the first line with apt-get there is no source on build-essential.. maybe, there should be some update on this on the wiki page

wyldckat July 7, 2013 06:49

Sorry about that :(.
I've been writing all of the latest installation instructions on the wiki and I was looking at the instructions for 2.1.1, instead of 1.6-ext :rolleyes:.

I've fixed the wiki page just now. I've also fixed the other Debian related wiki pages, to reference the correct Ubuntu versions.

eternityboy July 7, 2013 06:59

2.2 Debian Wheezy

Since Debian Wheezy is at the time of this writing (17:34, 27 October 2012 (CEST)) very similar to Ubuntu 12.04, you can try following the instructions meant for this particular Ubuntu version: Installation/Linux/OpenFOAM-1.6-ext/Ubuntu#Ubuntu_12.04

2.3 Debian Sid

Debian Sid is at the time of this writing (12:43, 7 July 2013 (CEST)) very similar to Ubuntu 13.10, which has not yet been released. You can try following the instructions meant for Ubuntu version 12.10, but it's very likely that it will fail: Installation/Linux/OpenFOAM-2.2.0/Ubuntu#Ubuntu_12.10

(2.3) i guess it should be 1.6-ext, not 2.2.0

and,(2.2) Wheezy is now available with Gcc47, so, its more familiar to ubuntu 12.10

eternityboy July 7, 2013 07:04

there is no big need in (9)
Now we need to do several repairs to the Third-Party specs files, due to several changes that occurred on the Internet since the last major update of 1.6-ext, so first go into the ThirdParty folder:

Repair Qt's download website:
sed -i 's=' \
rpmBuild/SPECS/qt-everywhere-opensource-src-4.7.4.spec AllMake.stage4


Repair libccmio download website:
sed -i 's=' \
rpmBuild/SPECS/libccmio-2.6.1.spec AllMake.stage3

these stages are ok in new version of ext...

but, comment cmake part is ok for this point

eternityboy July 7, 2013 07:29

and there is one more thing.. i've noticed,
that in the paper here

there is a link on make : ln -s /usr/bin/make /usr/bin/gmake and you have OFDIR/bin/gmake as link
does it make any difference?

wyldckat July 7, 2013 07:32

I've fixed some of the details you've mentioned. The others I'm still reviewing what to do exactly...

As for the last question: the instruction on the wiki gives a more non-invasive solution, in the sense that it does not make the link global, it makes it isolated to the current 1.6-ext installation.

edit: Done! New mirrors are up and instructions have been updated accordingly!

eternityboy July 7, 2013 15:58

yeah, it works now quite well..
i guess, all the problem for me it was make and build-essential


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