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

[OpenFOAM.org] OpenFOAM installation on Slackware Linux

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By adorean

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2014, 02:17
Default OpenFOAM installation on Slackware Linux
  #1
New Member
 
Sana Ullah
Join Date: Sep 2014
Location: Daejeon,South Korea
Posts: 28
Blog Entries: 2
Rep Power: 11
Mehar is on a distinguished road
Dear all,
I am very new to Linux and OpenFOAM.
So, I am stuck at installation of OpenFoam on Slackware.
Somebody, Kindly guide through a step by step installation procedure.
Thanks
Mehar is offline   Reply With Quote

Old   September 16, 2014, 08:06
Default
  #2
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,
there is a wiki
http://openfoamwiki.net/index.php/Ca...nFOAM_on_Linux
unfortunately Slackware did not get a Help page, only the usual suspects Ubuntu/Debian, Rad Hat, CentOs etc.
elvis is offline   Reply With Quote

Old   September 17, 2014, 05:58
Default
  #3
New Member
 
Sana Ullah
Join Date: Sep 2014
Location: Daejeon,South Korea
Posts: 28
Blog Entries: 2
Rep Power: 11
Mehar is on a distinguished road
Thanks elvis, for the info...So, is there anyone who can help me out?
I hope there might be someone who can actually help me with the installation. can you help me?
Mehar is offline   Reply With Quote

Old   September 21, 2014, 13:08
Default
  #4
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 to all!

@Mehar: If you're new to Linux, why did you choose Slackware Linux? As Elvis indicated, instructions are already available for several Linux Distributions, usually for the most popular ones. If you install one of those distributions, you will more easily install OpenFOAM in it.

Therefore, if you're using Slackware, can you please give us a good reason as to why you're using that distribution?
I ask this because it takes considerable time to test and write installation instructions for each Linux Distribution, therefore I honestly would like a good reason as to why I or anyone else should take the time to do try/use Slackware?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 27, 2014, 10:27
Default
  #5
Member
 
Ervin Adorean
Join Date: Mar 2009
Posts: 76
Rep Power: 17
adorean is on a distinguished road
Hello Mehar,

I did not know much about linux either, when started using Slackware. I like to do things the hard way . So, do not be discouraged by that. If you come to master it, it is very rewarding. But it is quite hard, and you have to read/learn a lot, by yourself. www.google.COM is your friend. You will find all the answers you need, if you ask it nicely.

OpenFOAM install on a stock Slackware is straightforward, one just needs to follow by letter, the installation instructions on
http://www.openfoam.com/; it is that easy.

However, I will paste here, the commands to install the 2.3.x repository release (on Slackware 14.1, 64 bit). Run the commands as user "mehar", or whatever user you have.

I recommend that while you run these commands, you keep an eye, or, maybe both on http://www.openfoam.org/download/git.php and identify the steps where you need to check whether all is in order. The log.Allwmake file could be useful for identifying the errors in a failed build.

Code:
mkdir /home/mehar/OpenFOAM
cd /home/mehar/OpenFOAM/
git clone git://github.com/OpenFOAM/OpenFOAM-2.3.x.git
wget http://sourceforge.net/projects/foam/files/foam/2.3.0/ThirdParty-2.3.0.tgz
tar xzf ThirdParty-2.3.0.tgz
mv ThirdParty-2.3.0 ThirdParty-2.3.x
source $HOME/OpenFOAM/OpenFOAM-2.3.x/etc/bashrc
cd /home/mehar/OpenFOAM/OpenFOAM-2.3.x/
./Allwmake > log.Allwmake&
cd $WM_THIRD_PARTY_DIR
./makeParaView4
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers
wmSET
./Allwclean
./Allwmake
cd /home/mehar/OpenFOAM/OpenFOAM-2.3.x/bin/
foamInstallationTest
mkdir -p $FOAM_RUN
cp -r $FOAM_TUTORIALS $FOAM_RUN
cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity
pwd
blockMesh
icoFoam
paraFoam
If you do not know what each command does, please look it up on google.COM

Best regards,

Ervin
lorenzotrevisan likes this.
adorean is offline   Reply With Quote

Old   December 31, 2017, 12:03
Default
  #6
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
Quote:
update to Slackware 14.2 / OpenFOAM 5.0
https://slackbuilds.org/repository/1...emic/OpenFOAM/
Quick answer: Many thanks! I've added a link to it here: https://openfoamwiki.net/index.php/I...-5.0/Slackware

Please feel free to add this and future information about these packages for Slackware at https://openfoamwiki.net/index.php/Installation/Linux
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
installation of openfoam, linux64, openfoam 2.1.x, slackware


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
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 05:40
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
[OpenFOAM.com] OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 electrosin OpenFOAM Installation 40 May 31, 2016 05:11
[Discussion] Restructuring the Installation page at openfoamwiki.net wyldckat OpenFOAM Installation 16 November 2, 2013 11:43


All times are GMT -4. The time now is 08:55.