diff --git a/ReleaseNotes-foam-extend-3.0 b/ReleaseNotes-foam-extend-3.0 index d0ee9c512..ffe6d3b4b 100644 --- a/ReleaseNotes-foam-extend-3.0 +++ b/ReleaseNotes-foam-extend-3.0 @@ -47,9 +47,11 @@ Contents: Apple Mac OS X. ** From source - Please refer to doc/buildInstructions/ for details. If you have - improvements or build instructions for a new system, please share them - with the community (see section "How to contribute", below). + Please refer to doc/buildInstructions/ for details. Further + installation instruction are available on the unofficial OpenFOAM Wiki: + http://openfoamwiki.net/index.php/Installation/Linux/foam-extend-3.0 + If you have improvements or build instructions for a new system, please + share them with the community (see section "How to contribute", below). ** Binary packages Binary packages are available for download at diff --git a/doc/buildInstructions/Arch/Manjaro/Compilation_Manjaro_64bit.txt b/doc/buildInstructions/Arch/Manjaro/Compilation_Manjaro_64bit.txt deleted file mode 100644 index f0174364d..000000000 --- a/doc/buildInstructions/Arch/Manjaro/Compilation_Manjaro_64bit.txt +++ /dev/null @@ -1,167 +0,0 @@ -Installation of OpenFOAM-1.6-ext on Arch - Manjaro --------------------------------------------------- - -Update your Manjaro installation: - -pacman -Syyu - --------------------------------------------------------------------------------- - -# Installation of additional system packages: - -pacman -S git -pacman -S mercurial -pacman -S graphviz -pacman -S doxygen - --------------------------------------------------------------------------------- - -# Minor correction for make/gmake -sudo ln -s /usr/bin/make /usr/local/bin/gmake - --------------------------------------------------------------------------------- - -# Installation of rpm version 5.2.1 from source code - -# Compilation of beecrypt-4.2.1 -cd /tmp -wget http://downloads.sourceforge.net/project/beecrypt/beecrypt/4.2.1/beecrypt-4.2.1.tar.gz -tar -zxvf beecrypt-4.2.1.tar.gz -cd beecrypt-4.2.1; -./configure --without-python --without-cplusplus -make -sudo make install - -# Compilation of rpm-5.2.1 -cd /tmp -wget https://launchpad.net/rpm/5.2/5.2.1/+download/rpm-5.2.1.tar.gz -tar -zxvf rpm-5.2.1.tar.gz -cd rpm-5.2.1 -./configure -make -sudo make install -# The rpm command is now available under /usr/local/bin/rpm - -# Cleanup -cd /tmp -rm -rf beecrypt-4.2.1 beecrypt-4.2.1.tar.gz rpm-5.2.1 rpm-5.2.1.tar.gz - --------------------------------------------------------------------------------- - -# Download OpenFOAM-1.6-ext - -mkdir ~/OpenFOAM -cd ~/OpenFOAM -git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/OpenFOAM-1.6-ext - --------------------------------------------------------------------------------- - -# We need to tweak our OpenFOAM setup using the prefs.sh file - -cp ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh-EXAMPLE \ - ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - --------------------------------------------------------------------------------- - -# We are going to use version 4.6.4 of gcc, provided by the ThirdParty packages -# -# The version of gcc 4.8.1 provided by Manjaro is too recent for the git 'master' branch. -# -# So the system installed compiler will only serve to compile gcc 4.6.4. - -# Modify the etc/prefs.sh file to switch to gcc 4.6.4 -sed -i s/"compilerInstall=System"/"compilerInstall=OpenFOAM\nWM_COMPILER=Gcc46"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - -# Activate the compilation of gcc 4.6.4 in the ThirdParty/AllMake.stage1 file -sed -i 0,/"#( rpm_make -p gmp-5.1.2"/s//"( rpm_make -p gmp-5.1.2"/ ~/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/AllMake.stage1 -sed -i 0,/"#( rpm_make -p mpfr-3.1.2"/s//"( rpm_make -p mpfr-3.1.2"/ ~/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/AllMake.stage1 -sed -i 0,/"#( rpm_make -p mpc-1.0.1"/s//"( rpm_make -p mpc-1.0.1"/ ~/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/AllMake.stage1 -sed -i 0,/"#( rpm_make -p gcc-4.6.4"/s//"( rpm_make -p gcc-4.6.4"/ ~/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/AllMake.stage1 - --------------------------------------------------------------------------------- - -# We are going to use the version of QT4 provided by Manjaro -# Unfortunately, the 'qmake' command on Manjaro is called 'qmake-qt4' -# The compilation script for ParaView requires a command called 'qmake'. -# So we are going to make a symbolic link in order to create a 'qmake' command, -# but this should be seen as a bad fix. A much better fix will be contributed under -# 'nextRelease' branch. Until then, this will have to do. - -sudo ln -s /usr/bin/qmake-qt4 /usr/local/bin/qmake - - -# Uncomment and modify the initialization of the variables QT_DIR in the -# file prefs.sh - -sed -i s/"#export QT_DIR=path_to_system_installed_qt"/"export QT_DIR=\/usr\/local"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh -sed -i s/"#export QT_BIN_DIR=\$QT_DIR\/bin"/"export QT_BIN_DIR=\$QT_DIR\/bin"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - - -# This section of the prefs.sh file should now look like this: - -#export QT_THIRD_PARTY=1 -export QT_DIR=/usr/local -export QT_BIN_DIR=$QT_DIR/bin - - --------------------------------------------------------------------------------- - -# Source this initial OpenFOAM environment to get the basic configuration for -# compilation -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# You will get some warnings about missing file for gcc-4.6.4, and problem with -# your compiler installation. -# This is quite normal, your gcc-4.6.4 compiler is not even compiled and -# installed yet. Patience patience... - -# Compile the ThirdParty packages, including the gcc 4.6.4 compiler - -cd $WM_PROJECT_DIR/ThirdParty -./AllMake >& log.AllMake & -tail -f log.AllMake # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Update your OpenFOAM environment to get the basic configuration from the newly -# compiled ThirdParty packages - -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# Compile OpenFOAM-1.6-ext - -cd $WM_PROJECT_DIR -./Allwmake >& log.Allwmake & -tail -f log.Allwmake # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Execute Allwmake a second time because of a bad library building sequence for -# the library -lfaceDecompositionMotionSolver - -./Allwmake >& log.Allwmake2 & -tail -f log.Allwmake2 # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Run a tutorial to check the basic functionality - -cd $FOAM_TUTORIAL/incompressible/simpleFoam/pitzDaily -blockMesh >& log.blockMesh -simpleFoam >& log.simpleFoam -paraFoam - --------------------------------------------------------------------------------- - -# You can also generate the Doxygen documentation, which is quite handy if -# you plan to poke around the OpenFOAM source code - -cd $WM_PROJECT_DIR/doc -./Allwmake - - -# You are done! - --------------------------------------------------------------------------------- -Martin Beaudoin -October 2013 diff --git a/doc/buildInstructions/Centos/5.5/Compilation_Centos_5.5_64bit.txt b/doc/buildInstructions/Centos/5.5/Compilation_Centos_5.5_64bit.txt deleted file mode 100644 index b320197b6..000000000 --- a/doc/buildInstructions/Centos/5.5/Compilation_Centos_5.5_64bit.txt +++ /dev/null @@ -1,164 +0,0 @@ -Installation of OpenFOAM-1.6-ext on Centos 5.5 64-bit --------------------------------------------------------------------------------- - -Network download and installation from: -ftp://mirrors.usc.edu/pub/linux/distributions/centos/5.5/os/x86_64/ - -Basic configuration: - Desktop - Gnome - Packages from CentOS Extras: unchecked - - Complete installation log: /root/install.log - -Run Package updater to update your installation - --------------------------------------------------------------------------------- - -Add your user as a valid user for the command 'sudo'. - -You will need to use the command 'visudo' as the user root for this. - -I won't go into the details for this, there is a lot of info all over the Net -for doing this relatively minor adjustment. - -In doubt, simply ask your local Unix guru. - --------------------------------------------------------------------------------- - -# Add the EPEL package repository: -sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm - --------------------------------------------------------------------------------- - -# Installation of additional system packages: - -sudo yum install git-1.7.4.1-1.el5.x86_64 -sudo yum install gcc.x86_64 gcc-c++.x86_64 -sudo yum install bison.x86_64 -sudo yum install flex.x86_64 -sudo yum install rpm-build-4.4.2.3-22.el5.x86_64 -sudo yum install zlib-devel-1.2.3-3.x86_64 -sudo yum install libX11-devel.x86_64 -sudo yum install libXext-devel.x86_64 -sudo yum install libXrender-devel.x86_64 -sudo yum install libXt-devel-1.0.2-3.2.el5.x86_64 - -# You can also install everything at once: - -sudo yum install \ - git-1.7.4.1-1.el5.x86_64 \ - gcc.x86_64 gcc-c++.x86_64 \ - bison.x86_64 \ - flex.x86_64 \ - rpm-build-4.4.2.3-22.el5.x86_64 \ - zlib-devel-1.2.3-3.x86_64 \ - libX11-devel.x86_64 \ - libXext-devel.x86_64 \ - libXrender-devel.x86_64 \ - libXt-devel-1.0.2-3.2.el5.x86_64 - --------------------------------------------------------------------------------- - -# Download OpenFOAM-1.6-ext - -mkdir ~/OpenFOAM -cd ~/OpenFOAM -git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext - - --------------------------------------------------------------------------------- - -# We need to tweak our OpenFOAM setup using the prefs.sh file - -cp ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh-EXAMPLE \ - ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - --------------------------------------------------------------------------------- - -# We are going to use version 4.4.5 of gcc, provided by the ThirdParty packages -# -# The versions provided by Centos 5.5 are either too old, or a just a preview -# version of gcc 4.4.0, which is a bit 'green'. -# -# So the system installed compiler will only serve to compile gcc 4.4.5. - -# Modify the etc/prefs.sh file to switch to gcc 4.4.5 -sed -i s/"compilerInstall=System"/"compilerInstall=OpenFOAM\nWM_COMPILER=Gcc44"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - -# Activate the compilation of gcc 4.4.5 in the ThirdParty/AllMake.stage1 file -sed -i 0,/"#( rpm_make -p gmp-5.0.1"/s//"( rpm_make -p gmp-5.0.1"/ ~/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/AllMake.stage1 -sed -i 0,/"#( rpm_make -p mpfr-3.0.1"/s//"( rpm_make -p mpfr-3.0.1"/ ~/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/AllMake.stage1 -sed -i 0,/"#( rpm_make -p gcc-4.4.5"/s//"( rpm_make -p gcc-4.4.5"/ ~/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/AllMake.stage1 - -# Add the wmake rules set for Gcc44 -ln -s ~/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc ~/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc44 - --------------------------------------------------------------------------------- - - -# We are going to use the version of QT4 provided by the ThirdParty packages - -# Uncomment and modify the initialization of the variables QT_THIRD_PARTY in the -# file prefs.sh - -sed -i s/"#export QT_THIRD_PARTY=1"/"export QT_THIRD_PARTY=1"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - -# This section of the prefs.sh file should now look like this: - -export QT_THIRD_PARTY=1 -#export QT_DIR=path_to_system_installed_qt -#export QT_BIN_DIR=$QT_DIR/bin - - --------------------------------------------------------------------------------- - -# Source this initial OpenFOAM environment to get the basic configuration for -# compilation -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# You will get some warnings about missing file for gcc-4.4.5, and problem with -# your compiler installation. -# This is quite normal, your gcc-4.4.5 compiler is not even compiled and -# installed yet. Patience patience... - -# Compile the ThirdParty packages, including the gcc 4.4.5 compiler - -cd $WM_PROJECT_DIR/ThirdParty -./AllMake >& log.AllMake & -tail -f log.AllMake # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Update your OpenFOAM environment to get the basic configuration from the newly -# compiled ThirdParty packages - -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# Compile OpenFOAM-1.6-ext - -cd $WM_PROJECT_DIR -./Allwmake >& log.Allwmake & -tail -f log.Allwmake # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Execute Allwmake a second time because of a bad library building sequence for -# the library -lfaceDecompositionMotionSolver - -./Allwmake >& log.Allwmake2 & -tail -f log.Allwmake2 # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Run a tutorial to check the basic functionality - -cd $FOAM_TUTORIAL/incompressible/simpleFoam/pitzDaily -blockMesh >& log.blockMesh -simpleFoam >& log.simpleFoam -paraFoam - -# You are done! - --------------------------------------------------------------------------------- -Martin Beaudoin -August 2011 diff --git a/doc/buildInstructions/Fedora/Fedora19 b/doc/buildInstructions/Fedora/Fedora19 new file mode 100644 index 000000000..34512044a --- /dev/null +++ b/doc/buildInstructions/Fedora/Fedora19 @@ -0,0 +1,55 @@ +Below are build instructions for Fedora 19: + +These instructions assume that you install in the default location, which is +~/foam/ . Create this folder with: + + cd ~ + mkdir foam + + +* Obtain and unpack source code (if you read this, you probably already have): + +The recommended way is to get the source code through git source code +management system. This way, you can get updates and bugfixes easily by running +"git pull". To install into the default location run: + + cd ~/foam + git clone git://git.code.sf.net/p/openfoam-extend/foam-extend-3.0 + + +Alternatively, you can download a snapshot (.tgz) of the source code from: +http://sourceforge.net/projects/openfoam-extend/files/foam-extend-3.0/ + + +* Install required packages: + + sudo yum groupinstall "Development Tools" + sudo yum install gcc-c++ binutils-devel bison flex m4 zlib-devel \ + qt-devel qtwebkit-devel mercurial + +* Set environment variables: + + cd ~/foam/foam-extend-3.0 + . etc/bashrc + +Optionally, set environment variable for Qt to compile ParaView: + + export QT_BIN_DIR=/usr/lib64/qt4/bin + +Optionally, set environment variable for compiling Cuda solvers, for example +(replace "sm_30" with value according to your GPU architecture): + + export CUDA_ARCH=sm_30 + + +* Compile: + + ./Allwmake.firstInstall + + +* Create user directory: + + mkdir -p $FOAM_RUN + + +And you are ready to start. diff --git a/doc/buildInstructions/README b/doc/buildInstructions/README new file mode 100644 index 000000000..12dd52819 --- /dev/null +++ b/doc/buildInstructions/README @@ -0,0 +1,13 @@ +Here you can find build instructions for foam-extend-3.0 . The instructions for +different Linux distributions are in corresponding sub-folders. If you need to +take different or additional steps to get foam-extend compiled on your machine, +please file a bug at http://sourceforge.net/apps/mantisbt/openfoam-extend/. + +If you compiled/installed on a Linux distribution that is not listed here, +please contribute to the project and submit installation instructions. Contact +the project admins on http://sourceforge.net/projects/openfoam-extend/ for +details. + +Please also refer to the unofficial OpenFOAM Wiki for additional installation +instructions: +http://openfoamwiki.net/index.php/Installation/Linux/foam-extend-3.0 diff --git a/doc/buildInstructions/Ubuntu/10.04/Compilation_Ubuntu_10.04.3_32-bit.txt b/doc/buildInstructions/Ubuntu/10.04/Compilation_Ubuntu_10.04.3_32-bit.txt deleted file mode 100644 index 312642365..000000000 --- a/doc/buildInstructions/Ubuntu/10.04/Compilation_Ubuntu_10.04.3_32-bit.txt +++ /dev/null @@ -1,112 +0,0 @@ -Installation of OpenFOAM-1.6-ext on Ubuntu 10.04.3 32-bit - -- Proceed with the installation of the OS -- Update your OS installation using "Update Manager". -- If asked to reboot your system, please do so. - --------------------------------------------------------------------------------- - -# Installation of additional system packages: -git: sudo apt-get install git-core -flex: sudo apt-get install flex -bison: sudo apt-get install bison -rpm: sudo apt-get install rpm -g++: sudo apt-get install g++ -libz: sudo apt-get install zlib1g-dev -binutils-dev : sudo apt-get install binutils-dev -qt4: sudo apt-get install libqt4-dev qt4-dev-tools - -libxext: sudo apt-get install libxext-dev -libxt : sudo apt-get install libxt-dev - -# You can also install everything at once: -sudo apt-get install git-core flex bison rpm g++ zlib1g-dev binutils-dev \ - libqt4-dev qt4-dev-tools libxext-dev libxt-dev - --------------------------------------------------------------------------------- - -# Minor correction for make/gmake -sudo ln -s /usr/bin/make /usr/bin/gmake - --------------------------------------------------------------------------------- - -# Installation of libstdc++.so.5: - -For Ubuntu 32bit: ------------------ -Grab the package libstdc++5_3.3.6-24_i386.deb from one of the sites listed here: -http://packages.debian.org/lenny/i386/libstdc++5/download - -wget http://ftp.us.debian.org/debian/pool/main/g/gcc-3.3/libstdc++5_3.3.6-24_i386.deb -dpkg-deb -x ./libstdc++5_3.3.6-24_i386.deb /tmp/tmp_dir - -sudo cp /tmp/tmp_dir/usr/lib/libstdc++.so.5.0.7 /usr/lib/ -sudo ln -s /usr/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.so.5 -rm -rf /tmp/tmp_dir - --------------------------------------------------------------------------------- - -# Download OpenFOAM-1.6-ext -mkdir ~/OpenFOAM -cd ~/OpenFOAM -git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext - --------------------------------------------------------------------------------- - -# We are going to use the system installed version of QT4 -cp ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh-EXAMPLE ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - -#Uncomment and modify the initialization of the variables QT_DIR and QT_BIN_DIR in the file prefs.sh - -sed -i s/"#export QT_DIR=path_to_system_installed_qt"/"export QT_DIR=\/usr"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh -sed -i s/"#export QT_BIN_DIR=\$QT_DIR\/bin"/"export QT_BIN_DIR=\$QT_DIR\/bin"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - -# This section of the prefs.sh file should now look like this: - -#export QT_THIRD_PARTY=1 -export QT_DIR=/usr -export QT_BIN_DIR=$QT_DIR/bin - --------------------------------------------------------------------------------- - -# Source your OpenFOAM environment to get the basic configuration for -# compilation -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# Compile the ThirdParty packages -cd $WM_PROJECT_DIR/ThirdParty -./AllMake >& log.AllMake & -tail -f log.AllMake # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Update your OpenFOAM environment to get the basic configuration from the newly -# compiled ThirdParty packages -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# Compile OpenFOAM-1.6-ext -cd $WM_PROJECT_DIR -./Allwmake >& log.Allwmake & -tail -f log.Allwmake # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Execute Allwmake a second time because of a bad library building sequence for -# the library -lfaceDecompositionMotionSolver - -./Allwmake >& log.Allwmake2 & -tail -f log.Allwmake2 # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Run a tutorial to check the basic functionality -cd $FOAM_TUTORIAL/incompressible/simpleFoam/pitzDaily -blockMesh >& log.blockMesh -simpleFoam >& log.simpleFoam -paraFoam - -# You are done! - --------------------------------------------------------------------------------- -Martin Beaudoin -August 2011 diff --git a/doc/buildInstructions/Ubuntu/10.04/Compilation_Ubuntu_10.04.3_64-bit.txt b/doc/buildInstructions/Ubuntu/10.04/Compilation_Ubuntu_10.04.3_64-bit.txt deleted file mode 100644 index fce775580..000000000 --- a/doc/buildInstructions/Ubuntu/10.04/Compilation_Ubuntu_10.04.3_64-bit.txt +++ /dev/null @@ -1,112 +0,0 @@ -Installation of OpenFOAM-1.6-ext on Ubuntu 10.04.3 64-bit - -- Proceed with the installation of the OS -- Update your OS installation using "Update Manager". -- If asked to reboot your system, please do so. - --------------------------------------------------------------------------------- - -# Installation of additional system packages: -git: sudo apt-get install git-core -flex: sudo apt-get install flex -bison: sudo apt-get install bison -rpm: sudo apt-get install rpm -g++: sudo apt-get install g++ -libz: sudo apt-get install zlib1g-dev -binutils-dev : sudo apt-get install binutils-dev -qt4: sudo apt-get install libqt4-dev qt4-dev-tools - -libxext: sudo apt-get install libxext-dev -libxt : sudo apt-get install libxt-dev - -# You can also install everything at once: -sudo apt-get install git-core flex bison rpm g++ zlib1g-dev binutils-dev \ - libqt4-dev qt4-dev-tools libxext-dev libxt-dev - --------------------------------------------------------------------------------- - -# Minor correction for make/gmake -sudo ln -s /usr/bin/make /usr/bin/gmake - --------------------------------------------------------------------------------- - -# Installation of libstdc++.so.5: - -For Ubuntu 64bit: ------------------ -Grab the package libstdc++5_3.3.6-24_amd64.deb from one of the sites listed here: -http://packages.debian.org/lenny/amd64/Libstdc++5/download - -wget http://ftp.us.debian.org/debian/pool/main/g/gcc-3.3/libstdc++5_3.3.6-24_amd64.deb -dpkg-deb -x ./libstdc++5_3.3.6-24_amd64.deb /tmp/tmp_dir - -sudo cp /tmp/tmp_dir/usr/lib/libstdc++.so.5.0.7 /usr/lib/ -sudo ln -s /usr/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.so.5 -rm -rf /tmp/tmp_dir - --------------------------------------------------------------------------------- - -# Download OpenFOAM-1.6-ext -mkdir ~/OpenFOAM -cd ~/OpenFOAM -git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext - --------------------------------------------------------------------------------- - -# We are going to use the system installed version of QT4 -cp ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh-EXAMPLE ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - -#Uncomment and modify the initialization of the variables QT_DIR and QT_BIN_DIR in the file prefs.sh - -sed -i s/"#export QT_DIR=path_to_system_installed_qt"/"export QT_DIR=\/usr"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh -sed -i s/"#export QT_BIN_DIR=\$QT_DIR\/bin"/"export QT_BIN_DIR=\$QT_DIR\/bin"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - -# This section of the prefs.sh file should now look like this: - -#export QT_THIRD_PARTY=1 -export QT_DIR=/usr -export QT_BIN_DIR=$QT_DIR/bin - --------------------------------------------------------------------------------- - -# Source your OpenFOAM environment to get the basic configuration for -# compilation -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# Compile the ThirdParty packages -cd $WM_PROJECT_DIR/ThirdParty -./AllMake >& log.AllMake & -tail -f log.AllMake # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Update your OpenFOAM environment to get the basic configuration from the newly -# compiled ThirdParty packages -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# Compile OpenFOAM-1.6-ext -cd $WM_PROJECT_DIR -./Allwmake >& log.Allwmake & -tail -f log.Allwmake # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Execute Allwmake a second time because of a bad library building sequence for -# the library -lfaceDecompositionMotionSolver - -./Allwmake >& log.Allwmake2 & -tail -f log.Allwmake2 # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Run a tutorial to check the basic functionality -cd $FOAM_TUTORIAL/incompressible/simpleFoam/pitzDaily -blockMesh >& log.blockMesh -simpleFoam >& log.simpleFoam -paraFoam - -# You are done! - --------------------------------------------------------------------------------- -Martin Beaudoin -August 2011 diff --git a/doc/buildInstructions/Ubuntu/12.04/Compilation_Ubuntu_12.04_32-bit.txt b/doc/buildInstructions/Ubuntu/12.04/Compilation_Ubuntu_12.04_32-bit.txt deleted file mode 100644 index 93c7469d8..000000000 --- a/doc/buildInstructions/Ubuntu/12.04/Compilation_Ubuntu_12.04_32-bit.txt +++ /dev/null @@ -1,120 +0,0 @@ -Installation of OpenFOAM-1.6-ext on Ubuntu 12.04 32-bit - -- Proceed with the installation of the OS -- Update your OS installation using "Update Manager". -- If asked to reboot your system, please do so. - --------------------------------------------------------------------------------- - -# Installation of additional system packages: -git: sudo apt-get install git -flex: sudo apt-get install flex -bison: sudo apt-get install bison -rpm: sudo apt-get install rpm -g++: sudo apt-get install g++ -libz: sudo apt-get install zlib1g-dev -binutils-dev : sudo apt-get install binutils-dev -openmpi: sudo apt-get install openmpi-bin libopenmpi-dev -libxext: sudo apt-get install libxext-dev -libxt : sudo apt-get install libxt-dev -libXrender: sudo apt-get install libxrender-dev -libstdc++5: sudo apt-get install libstdc++5 -OpenGL: sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev - -# You can also install everything at once: -sudo apt-get install git flex bison rpm g++ zlib1g-dev binutils-dev \ - openmpi-bin libopenmpi-dev libxext-dev libxt-dev libxrender-dev \ - libstdc++5 libgl1-mesa-dev libglu1-mesa-dev - --------------------------------------------------------------------------------- - -# If you need to compile swak4Foam, it is a good idea to install Mercurial (hg) -# sudo apt-get install mercurial - --------------------------------------------------------------------------------- - -# Minor correction for make/gmake -sudo ln -s /usr/bin/make /usr/bin/gmake - --------------------------------------------------------------------------------- - -# Download OpenFOAM-1.6-ext -mkdir ~/OpenFOAM -cd ~/OpenFOAM -git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext - --------------------------------------------------------------------------------- - -# Create the file etc/prefs.sh -cp ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh-EXAMPLE ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - --------------------------------------------------------------------------------- - -# Use the system compiler -sed -i s/"compilerInstall=System"/"compilerInstall=System\nWM_COMPILER=Gcc46"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - --------------------------------------------------------------------------------- - -# Use the system installation of OpenMPI -sed -i s/"#export WM_MPLIB=SYSTEMOPENMPI"/"export WM_MPLIB=SYSTEMOPENMPI"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh -sed -i s/"#export OPENMPI_DIR=path_to_system_installed_openmpi"/"export OPENMPI_DIR=\/usr"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh -sed -i s/"#export OPENMPI_BIN_DIR=\$OPENMPI_DIR\/bin"/"export OPENMPI_BIN_DIR=\$OPENMPI_DIR\/bin"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - --------------------------------------------------------------------------------- - -# About QT4 -# -# Ubuntu 12.04 comes with QT4 version 4.8.1 -# Even thoug ParaView will compile with this version of QT, ParaView will also generate a bunch of -# warnings on the console at runtime. So we will be using the version of QT4 supplied with the -# ThirdParty packages. - -#Uncomment the variable QT_THIRD_PARTY in the file prefs.sh - -sed -i s/"#export QT_THIRD_PARTY=1"/"export QT_THIRD_PARTY=1"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - -# This section of the prefs.sh file should now look like this: - -export QT_THIRD_PARTY=1 -#export QT_DIR=path_to_system_installed_qt -#export QT_BIN_DIR=$QT_DIR/bin - --------------------------------------------------------------------------------- - -# Source your OpenFOAM environment to get the basic configuration for -# compilation -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - --------------------------------------------------------------------------------- - -# Compile the ThirdParty packages -cd $WM_PROJECT_DIR/ThirdParty -./AllMake.stage1 >& log.AllMake.stage1 -#./AllMake.stage2 >& log.AllMake.stage2 # No need for this one -./AllMake.stage3 >& log.AllMake.stage3 -./AllMake.stage4 >& log.AllMake.stage4 - --------------------------------------------------------------------------------- - -# Update your OpenFOAM environment to get the basic configuration from the newly -# compiled ThirdParty packages -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# Compile OpenFOAM-1.6-ext -cd $WM_PROJECT_DIR -./Allwmake >& log.Allwmake & -tail -f log.Allwmake # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Run a tutorial to check the basic functionality -cd $FOAM_TUTORIAL/incompressible/simpleFoam/pitzDaily -blockMesh >& log.blockMesh -simpleFoam >& log.simpleFoam -paraFoam - -# You are done! - --------------------------------------------------------------------------------- -Martin Beaudoin -May 2012 diff --git a/doc/buildInstructions/Ubuntu/12.04/Compilation_Ubuntu_12.04_64-bit.txt b/doc/buildInstructions/Ubuntu/12.04/Compilation_Ubuntu_12.04_64-bit.txt deleted file mode 100644 index 0c30f8bae..000000000 --- a/doc/buildInstructions/Ubuntu/12.04/Compilation_Ubuntu_12.04_64-bit.txt +++ /dev/null @@ -1,119 +0,0 @@ -Installation of OpenFOAM-1.6-ext on Ubuntu 12.04 64-bit - -- Proceed with the installation of the OS -- Update your OS installation using "Update Manager". -- If asked to reboot your system, please do so. - --------------------------------------------------------------------------------- - -# Installation of additional system packages: -git: sudo apt-get install git -flex: sudo apt-get install flex -bison: sudo apt-get install bison -rpm: sudo apt-get install rpm -g++: sudo apt-get install g++ -libz: sudo apt-get install zlib1g-dev -binutils-dev : sudo apt-get install binutils-dev -openmpi: sudo apt-get install openmpi-bin libopenmpi-dev -libxext: sudo apt-get install libxext-dev -libxt : sudo apt-get install libxt-dev -libXrender: sudo apt-get install libxrender-dev -OpenGL: sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev - -# You can also install everything at once: -sudo apt-get install git flex bison rpm g++ zlib1g-dev binutils-dev \ - openmpi-bin libopenmpi-dev libxext-dev libxt-dev libxrender-dev \ - libgl1-mesa-dev libglu1-mesa-dev - --------------------------------------------------------------------------------- - -# If you need to compile swak4Foam, it is a good idea to install Mercurial (hg) -# sudo apt-get install mercurial - --------------------------------------------------------------------------------- - -# Minor correction for make/gmake -sudo ln -s /usr/bin/make /usr/bin/gmake - --------------------------------------------------------------------------------- - -# Download OpenFOAM-1.6-ext -mkdir ~/OpenFOAM -cd ~/OpenFOAM -git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext - --------------------------------------------------------------------------------- - -# Create the file etc/prefs.sh -cp ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh-EXAMPLE ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - --------------------------------------------------------------------------------- - -# Use the system compiler -sed -i s/"compilerInstall=System"/"compilerInstall=System\nWM_COMPILER=Gcc46"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - --------------------------------------------------------------------------------- - -# Use the system installation of OpenMPI -sed -i s/"#export WM_MPLIB=SYSTEMOPENMPI"/"export WM_MPLIB=SYSTEMOPENMPI"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh -sed -i s/"#export OPENMPI_DIR=path_to_system_installed_openmpi"/"export OPENMPI_DIR=\/usr"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh -sed -i s/"#export OPENMPI_BIN_DIR=\$OPENMPI_DIR\/bin"/"export OPENMPI_BIN_DIR=\$OPENMPI_DIR\/bin"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - --------------------------------------------------------------------------------- - -# About QT4 -# -# Ubuntu 12.04 comes with QT4 version 4.8.1 -# Even thoug ParaView will compile with this version of QT, ParaView will also generate a bunch of -# warnings on the console at runtime. So we will be using the version of QT4 supplied with the -# ThirdParty packages. - -#Uncomment the variable QT_THIRD_PARTY in the file prefs.sh - -sed -i s/"#export QT_THIRD_PARTY=1"/"export QT_THIRD_PARTY=1"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - -# This section of the prefs.sh file should now look like this: - -export QT_THIRD_PARTY=1 -#export QT_DIR=/usr -#export QT_BIN_DIR=$QT_DIR/bin - --------------------------------------------------------------------------------- - -# Source your OpenFOAM environment to get the basic configuration for -# compilation -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - --------------------------------------------------------------------------------- - -# Compile the ThirdParty packages -cd $WM_PROJECT_DIR/ThirdParty -./AllMake.stage1 >& log.AllMake.stage1 -#./AllMake.stage2 >& log.AllMake.stage2 # No need for this one -./AllMake.stage3 >& log.AllMake.stage3 -./AllMake.stage4 >& log.AllMake.stage4 - --------------------------------------------------------------------------------- - -# Update your OpenFOAM environment to get the basic configuration from the newly -# compiled ThirdParty packages -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# Compile OpenFOAM-1.6-ext -cd $WM_PROJECT_DIR -./Allwmake >& log.Allwmake & -tail -f log.Allwmake # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Run a tutorial to check the basic functionality -cd $FOAM_TUTORIAL/incompressible/simpleFoam/pitzDaily -blockMesh >& log.blockMesh -simpleFoam >& log.simpleFoam -paraFoam - -# You are done! - --------------------------------------------------------------------------------- -Martin Beaudoin -May 2012 diff --git a/doc/buildInstructions/Ubuntu/12.10/Compilation_Ubuntu_12.10_64-bit.txt b/doc/buildInstructions/Ubuntu/12.10/Compilation_Ubuntu_12.10_64-bit.txt deleted file mode 100644 index fe17ad103..000000000 --- a/doc/buildInstructions/Ubuntu/12.10/Compilation_Ubuntu_12.10_64-bit.txt +++ /dev/null @@ -1,131 +0,0 @@ -Installation of OpenFOAM-1.6-ext on Ubuntu 12.10 64-bit - -- Proceed with the installation of the OS -- Update your OS installation using "Update Manager". -- If asked to reboot your system, please do so. - --------------------------------------------------------------------------------- - -# Installation of additional system packages: -git: sudo apt-get install git -flex: sudo apt-get install flex -bison: sudo apt-get install bison -rpm: sudo apt-get install rpm -g++: sudo apt-get install g++ -libz: sudo apt-get install zlib1g-dev -binutils-dev : sudo apt-get install binutils-dev -openmpi: sudo apt-get install openmpi-bin libopenmpi-dev -libxext: sudo apt-get install libxext-dev -libxt : sudo apt-get install libxt-dev -libXrender: sudo apt-get install libxrender-dev -OpenGL: sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev -Python-dev: sudo apt-get install python-dev - -# You can also install everything at once: -sudo apt-get install git flex bison rpm g++ zlib1g-dev binutils-dev \ - openmpi-bin libopenmpi-dev libxext-dev libxt-dev libxrender-dev \ - libgl1-mesa-dev libglu1-mesa-dev python-dev - --------------------------------------------------------------------------------- - -# If you need to compile swak4Foam, it is a good idea to install Mercurial (hg) -# and Subversion (svn) -# sudo apt-get install mercurial -# sudo apt-get install subversion - --------------------------------------------------------------------------------- - -# Minor correction for make/gmake -sudo ln -s /usr/bin/make /usr/bin/gmake - --------------------------------------------------------------------------------- - -# Download OpenFOAM-1.6-ext -mkdir ~/OpenFOAM -cd ~/OpenFOAM -git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext - --------------------------------------------------------------------------------- - -# Create the file etc/prefs.sh -cp ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh-EXAMPLE ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - --------------------------------------------------------------------------------- - -# Use the system compiler -sed -i s/"compilerInstall=System"/"compilerInstall=System\nWM_COMPILER=Gcc46"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - --------------------------------------------------------------------------------- - -# Use the version of OpenMPI supplied with the ThirdParty packages -# The version of OpenMPI supplied by Ubuntu 12.10 is 1.4.5, which is outdated -# So nothing to do here. - --------------------------------------------------------------------------------- - -# About QT4 -# -# Ubuntu 12.10 comes with QT4 version 4.8.3 -# Even thoug ParaView will compile with this version of QT, ParaView will also generate a bunch of -# warnings on the console at runtime. So we will be using the version of QT4 supplied with the -# ThirdParty packages. - -#Uncomment the variable QT_THIRD_PARTY in the file prefs.sh - -sed -i s/"#export QT_THIRD_PARTY=1"/"export QT_THIRD_PARTY=1"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - -# This section of the prefs.sh file should now look like this: - -export QT_THIRD_PARTY=1 -#export QT_DIR=/usr -#export QT_BIN_DIR=$QT_DIR/bin - --------------------------------------------------------------------------------- - -# About Paraview -# -# After a lot of trials, I just cannot find a way to make the OpenFOAM-1.6-ext reader -# work under Ubuntu 12 and ParaView-3.x. -# -# So use the command 'paraFoam -nativeReader' instead in order to start ParaView with the -# OpenFOAM built-in native reader. - --------------------------------------------------------------------------------- - -# Source your OpenFOAM environment to get the basic configuration for -# compilation -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - --------------------------------------------------------------------------------- - -# Compile the ThirdParty packages -cd $WM_PROJECT_DIR/ThirdParty -./AllMake.stage1 >& log.AllMake.stage1 -./AllMake.stage2 >& log.AllMake.stage2 -./AllMake.stage3 >& log.AllMake.stage3 -./AllMake.stage4 >& log.AllMake.stage4 - --------------------------------------------------------------------------------- - -# Update your OpenFOAM environment to get the basic configuration from the newly -# compiled ThirdParty packages -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# Compile OpenFOAM-1.6-ext -cd $WM_PROJECT_DIR -./Allwmake >& log.Allwmake & -tail -f log.Allwmake # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Run a tutorial to check the basic functionality -cd $FOAM_TUTORIAL/incompressible/simpleFoam/pitzDaily -blockMesh >& log.blockMesh -simpleFoam >& log.simpleFoam -paraFoam -nativeReader - -# You are done! - --------------------------------------------------------------------------------- -Martin Beaudoin -July 2013 diff --git a/doc/buildInstructions/Ubuntu/Ubuntu_12.04_and_13.10 b/doc/buildInstructions/Ubuntu/Ubuntu_12.04_and_13.10 new file mode 100644 index 000000000..43af34c64 --- /dev/null +++ b/doc/buildInstructions/Ubuntu/Ubuntu_12.04_and_13.10 @@ -0,0 +1,58 @@ +Below are build instructions for Ubuntu 12.04 and Ubuntu 13.10. + +These instructions assume that you install in the default location, which is +~/foam/ . Create this folder with: + + cd ~ + mkdir foam + + +* Obtain and unpack source code (if you read this, you probably already have): + +The recommended way is to get the source code through git source code +management system. This way, you can get updates and bugfixes easily by running +"git pull". To install into the default location run: + + cd ~/foam + git clone git://git.code.sf.net/p/openfoam-extend/foam-extend-3.0 + + +Alternatively, you can download a snapshot (.tgz) of the source code from: +http://sourceforge.net/projects/openfoam-extend/files/foam-extend-3.0/ + + +* Install required packages: + + sudo apt-get install git-core build-essential binutils-dev flex bison \ + zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev libxt-dev rpm mercurial + +Make an additional link: + + sudo ln -s /usr/bin/make /usr/bin/gmake + +* Set environment variables: + + cd ~/foam/foam-extend-3.0 + . etc/bashrc + +Optionally, set environment variable for Qt to compile ParaView: + + export QT_BIN_DIR=/usr/bin + +Optionally, set environment variable for compiling Cuda solvers, for example +(replace "sm_30" with value according to your GPU architecture): + + export CUDA_ARCH=sm_30 + + +* Compile: + + ./Allwmake.firstInstall + + +* Create user directory: + + mkdir -p $FOAM_RUN + + +And you are ready to start. diff --git a/doc/buildInstructions/openSUSE/12.1/Compilation_openSUSE_12.1_64bit.txt b/doc/buildInstructions/openSUSE/12.1/Compilation_openSUSE_12.1_64bit.txt deleted file mode 100644 index 6bfa46857..000000000 --- a/doc/buildInstructions/openSUSE/12.1/Compilation_openSUSE_12.1_64bit.txt +++ /dev/null @@ -1,124 +0,0 @@ -Installation of OpenFOAM-1.6-ext on openSUSE 12.1 64-bit --------------------------------------------------------------------------------- - -We assume you have a fresh installation of openSUSE 12.1 64-bit, with all the -necessary updates already applied - --------------------------------------------------------------------------------- - -# Installation of additional system packages: - -sudo zypper install git -sudo zypper install openmpi-devel -sudo zypper install gnuplot -sudo zypper install -t pattern devel_qt4 - --------------------------------------------------------------------------------- - -# Download OpenFOAM-1.6-ext - -mkdir ~/OpenFOAM -cd ~/OpenFOAM -git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext - - --------------------------------------------------------------------------------- - -# We need to tweak our OpenFOAM setup using the prefs.sh file - -cp ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh-EXAMPLE \ - ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - --------------------------------------------------------------------------------- - -# We are going to use version system installed version of gcc 4.6.2 - -# Modify the etc/prefs.sh file to switch to gcc 4.6.2 -sed -i s/"compilerInstall=System"/"compilerInstall=System\nWM_COMPILER=Gcc46"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - --------------------------------------------------------------------------------- - -# We are going to use the system installed version of openmpi-1.4.3 -# -# No need to run AllMake.stage2 -sed -i s/"#export WM_MPLIB=SYSTEMOPENMPI"/"export WM_MPLIB=SYSTEMOPENMPI"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh -sed -i s/"#export OPENMPI_DIR=path_to_system_installed_openmpi"/"export OPENMPI_DIR=\/usr\/lib64\/mpi\/gcc\/openmpi"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh -sed -i s/"#export OPENMPI_BIN_DIR=\$OPENMPI_DIR\/bin"/"export OPENMPI_BIN_DIR=\$OPENMPI_DIR\/bin"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - - --------------------------------------------------------------------------------- - -# We are going to use the system installed development version of Qt (Version: 4.7.4-19.6.1) - -# Uncomment and modify the initialization of the variables QT_DIR and QT_BIN_DIR in the -# file prefs.sh - -sed -i s/"#export QT_DIR=path_to_system_installed_qt"/"export QT_DIR=\/usr"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh -sed -i s/"#export QT_BIN_DIR=\$QT_DIR\/bin"/"export QT_BIN_DIR=\$QT_DIR\/bin"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh - -# This section of the prefs.sh file should now look like this: - -#export QT_THIRD_PARTY=1 -export QT_DIR=/usr -export QT_BIN_DIR=$QT_DIR/bin - --------------------------------------------------------------------------------- - -# ParaView: -# -# Version 3.8.1 of ParaView does not compile with gcc 4.6.2 on openSUSE 12.1 -# -# I suggest you switch to ParaView 12.1 -# --------------------------------------------------------------------------------- - -# Source this initial OpenFOAM environment to get the basic configuration for -# compilation -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# Compile the ThirdParty packages - -cd $WM_PROJECT_DIR/ThirdParty -./AllMake.stage1 >& log.AllMake.stage1 -./AllMake.stage3 >& log.AllMake.stage3 -./AllMake.stage4 >& log.AllMake.stage4 - -# You can keep an eye on the compilation process with the command tail e.g: -# tail -f log.AllMake.stage1 - --------------------------------------------------------------------------------- - -# Update your OpenFOAM environment to get the basic configuration from the newly -# compiled ThirdParty packages - -. ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc - -# Compile OpenFOAM-1.6-ext - -cd $WM_PROJECT_DIR -./Allwmake >& log.Allwmake & -tail -f log.Allwmake # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Execute Allwmake a second time because of a bad library building sequence for -# the library -lfaceDecompositionMotionSolver -# Warning: Not sure if this is still necessary... MB 05/2012 - -./Allwmake >& log.Allwmake2 & -tail -f log.Allwmake2 # To keep an eye on the compilation process - --------------------------------------------------------------------------------- - -# Run a tutorial to check the basic functionality - -cd $FOAM_TUTORIAL/incompressible/simpleFoam/pitzDaily -blockMesh >& log.blockMesh -simpleFoam >& log.simpleFoam -paraFoam - -# You are done! - --------------------------------------------------------------------------------- -Martin Beaudoin -May 2012