Difference between revisions of "Installation/Linux/foam-extend-3.2/openSUSE"
From OpenFOAMWiki
< Installation | Linux | foam-extend-3.2
(→openSUSE 42.1: added metis paths) |
(→openSUSE 42.1: system metis will not work) |
||
Line 14: | Line 14: | ||
<li>Install the necessary packages: | <li>Install the necessary packages: | ||
<bash>zypper install -t pattern devel_C_C++ | <bash>zypper install -t pattern devel_C_C++ | ||
− | zypper install cmake libqt4-devel qt4-x11-tools qt4-assistant-adp-devel gnuplot openmpi-devel boost-devel cgal-devel gmp-devel mpfr | + | zypper install cmake libqt4-devel qt4-x11-tools qt4-assistant-adp-devel gnuplot openmpi-devel boost-devel cgal-devel gmp-devel mpfr-devel libQtWebKit-devel python-devel git mercurial rpm-build |
</bash></li> | </bash></li> | ||
Line 23: | Line 23: | ||
<bash>echo unset WM_THIRD_PARTY_USE_CMAKE_322 >> etc/prefs.sh | <bash>echo unset WM_THIRD_PARTY_USE_CMAKE_322 >> etc/prefs.sh | ||
echo export WM_MPLIB=SYSTEMOPENMPI >> etc/prefs.sh | echo export WM_MPLIB=SYSTEMOPENMPI >> etc/prefs.sh | ||
− | + | </bash> | |
− | + | ||
− | + | ||
− | + | ||
More specifically, the commands should be executed something like this: | More specifically, the commands should be executed something like this: | ||
Line 33: | Line 30: | ||
echo unset WM_THIRD_PARTY_USE_CMAKE_322 >> etc/prefs.sh | echo unset WM_THIRD_PARTY_USE_CMAKE_322 >> etc/prefs.sh | ||
echo export WM_MPLIB=SYSTEMOPENMPI >> etc/prefs.sh | echo export WM_MPLIB=SYSTEMOPENMPI >> etc/prefs.sh | ||
− | |||
− | |||
− | |||
− | |||
source etc/bashrc</bash> | source etc/bashrc</bash> | ||
+ | |||
+ | '''Note''': Using the openSUSE's own Metis system installation did not work at the time of this writing (23:09, 19 December 2015 (CET)). | ||
[[Category:Installing OpenFOAM on Linux]] [[Category:Installing OpenFOAM on openSUSE]] | [[Category:Installing OpenFOAM on Linux]] [[Category:Installing OpenFOAM on openSUSE]] |
Revision as of 22:09, 19 December 2015
1 Introduction
This page is dedicated to preparing an openSUSE system for installing the foam-extend project .
2 openSUSE versions
2.1 openSUSE 42.1
Follow these steps:
- Switch to root mode (administrator), to install the necessary packages:
sudo -s
- If the 'sudo' command tells you're not in the sudoers list, then run:
su -
- If the 'sudo' command tells you're not in the sudoers list, then run:
- Install the necessary packages:
zypper install -t pattern devel_C_C++ zypper install cmake libqt4-devel qt4-x11-tools qt4-assistant-adp-devel gnuplot openmpi-devel boost-devel cgal-devel gmp-devel mpfr-devel libQtWebKit-devel python-devel git mercurial rpm-build
- Now exit from the root mode:
exit
Then continue following the instructions on the previous page, subsection Get the source code, although keep in mind to run the following commands before you run source etc/bashrc:
echo unset WM_THIRD_PARTY_USE_CMAKE_322 >> etc/prefs.sh echo export WM_MPLIB=SYSTEMOPENMPI >> etc/prefs.sh
More specifically, the commands should be executed something like this:
cd ~/foam/foam-extend-3.2 echo unset WM_THIRD_PARTY_USE_CMAKE_322 >> etc/prefs.sh echo export WM_MPLIB=SYSTEMOPENMPI >> etc/prefs.sh source etc/bashrc
Note: Using the openSUSE's own Metis system installation did not work at the time of this writing (23:09, 19 December 2015 (CET)).