|
[Sponsors] |
July 6, 2013, 07:16 |
OpenFOAM-1.6-ext on Wheezy
|
#1 |
New Member
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16 |
Anyone to compile OpenFOAM extended on Debian Wheezy 7?
i have some "/usr/bin/ld cannot find -lOpenFOAM" problems when compiling |
|
July 7, 2013, 06:27 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Nikita,
Since you're using Debian Wheezy, then I suggest you follow the instructions that are meant for Ubuntu 12.04: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04 Best regards, Bruno
__________________
|
|
July 7, 2013, 06:29 |
|
#3 |
New Member
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16 |
Trying right now.. in a hour gonna say something..
|
|
July 7, 2013, 06:31 |
|
#4 |
New Member
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16 |
12.04 or 12.10
cause, Wheezy has GCC47 |
|
July 7, 2013, 06:33 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Good point! Then try following the instructions for Ubuntu 12.10.
__________________
|
|
July 7, 2013, 06:35 |
|
#6 |
New Member
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16 |
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.. |
|
July 7, 2013, 06:37 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Just follow the instructions
make will be installed along with the "build-essential" package
__________________
|
|
July 7, 2013, 06:43 |
|
#8 |
New Member
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16 |
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 |
|
July 7, 2013, 06:49 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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 . I've fixed the wiki page just now. I've also fixed the other Debian related wiki pages, to reference the correct Ubuntu versions.
__________________
|
|
July 7, 2013, 06:59 |
|
#10 |
New Member
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16 |
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 |
|
July 7, 2013, 07:04 |
|
#11 |
New Member
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16 |
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=http://get.qt.nokia.com=ftp://ftp.qt-project.org=' \ rpmBuild/SPECS/qt-everywhere-opensource-src-4.7.4.spec AllMake.stage4 and Repair libccmio download website: sed -i 's=https://wci.llnl.gov/codes/visit/3rd_party=http://portal.nersc.gov/svn/visit/trunk/third_party=' \ 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 |
|
July 7, 2013, 07:29 |
|
#12 |
New Member
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16 |
and there is one more thing.. i've noticed,
that in the paper here http://sourceforge.net/p/openfoam-ex....04_64-bit.txt 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? |
|
July 7, 2013, 07:32 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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!
__________________
Last edited by wyldckat; July 7, 2013 at 08:11. Reason: see "edit:" |
|
July 7, 2013, 15:58 |
|
#14 |
New Member
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16 |
yeah, it works now quite well..
i guess, all the problem for me it was make and build-essential thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sample Utility not working in OpenFoam 1.6 | titio | OpenFOAM Post-Processing | 6 | November 15, 2014 18:04 |
Updating OpenFOAm 1.6 to 2.0 | fs82 | OpenFOAM | 1 | May 3, 2012 09:19 |
[Commercial meshers] Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 | maverick | OpenFOAM Meshing & Mesh Conversion | 2 | June 18, 2011 04:36 |
p_rgh in OpenFOAM 1.6 | vkrastev | OpenFOAM Running, Solving & CFD | 2 | March 30, 2011 09:29 |
Openfoam 1.6 | ar_mofidi | OpenFOAM | 1 | November 4, 2009 05:26 |