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

OpenFOAM-1.6-ext on Wheezy

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2013, 07:16
Default OpenFOAM-1.6-ext on Wheezy
  #1
New Member
 
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16
eternityboy is on a distinguished road
Anyone to compile OpenFOAM extended on Debian Wheezy 7?

i have some "/usr/bin/ld cannot find -lOpenFOAM" problems when compiling
eternityboy is offline   Reply With Quote

Old   July 7, 2013, 06:27
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   July 7, 2013, 06:29
Default
  #3
New Member
 
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16
eternityboy is on a distinguished road
Trying right now.. in a hour gonna say something..
eternityboy is offline   Reply With Quote

Old   July 7, 2013, 06:31
Default
  #4
New Member
 
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16
eternityboy is on a distinguished road
12.04 or 12.10

cause, Wheezy has GCC47
eternityboy is offline   Reply With Quote

Old   July 7, 2013, 06:33
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Good point! Then try following the instructions for Ubuntu 12.10.
__________________
wyldckat is offline   Reply With Quote

Old   July 7, 2013, 06:35
Default
  #6
New Member
 
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16
eternityboy is on a distinguished road
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..
eternityboy is offline   Reply With Quote

Old   July 7, 2013, 06:37
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Just follow the instructions
make will be installed along with the "build-essential" package
__________________
wyldckat is offline   Reply With Quote

Old   July 7, 2013, 06:43
Default
  #8
New Member
 
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16
eternityboy is on a distinguished road
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
eternityboy is offline   Reply With Quote

Old   July 7, 2013, 06:49
Default
  #9
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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.
__________________
wyldckat is offline   Reply With Quote

Old   July 7, 2013, 06:59
Default
  #10
New Member
 
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16
eternityboy is on a distinguished road
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 is offline   Reply With Quote

Old   July 7, 2013, 07:04
Default
  #11
New Member
 
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16
eternityboy is on a distinguished road
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
eternityboy is offline   Reply With Quote

Old   July 7, 2013, 07:29
Default
  #12
New Member
 
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16
eternityboy is on a distinguished road
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?
eternityboy is offline   Reply With Quote

Old   July 7, 2013, 07:32
Default
  #13
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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:"
wyldckat is offline   Reply With Quote

Old   July 7, 2013, 15:58
Default
  #14
New Member
 
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 16
eternityboy is on a distinguished road
yeah, it works now quite well..
i guess, all the problem for me it was make and build-essential

thanks
eternityboy is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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


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