CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] OpenFOAM installation on Slackware Linux (https://www.cfd-online.com/Forums/openfoam-installation/141773-openfoam-installation-slackware-linux.html)

Mehar September 16, 2014 02:17

OpenFOAM installation on Slackware Linux
 
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

elvis September 16, 2014 08:06

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.

Mehar September 17, 2014 05:58

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?

wyldckat September 21, 2014 13:08

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

adorean September 27, 2014 10:27

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

wyldckat December 31, 2017 12:03

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


All times are GMT -4. The time now is 06:01.