Installing OpenQBMM on openSUSE Leap can be done leveraging the packaged version of OpenFOAM for openSUSE Leap. The steps to follow are the following:
- Install OpenFOAM
- To use RPM packages:
- Execute the following commands in sequence (as root):
zypper addrepo https://download.opensuse.org/repositories/science/openSUSE_Leap_15.5/science.repo
zypper refresh
zypper install openfoam2312-default gnuplot git
- Execute (as root):
openfoam-selector-menu
- Select openfoam2312
- Apply to the system (it is necessary to log out and log into the system again)
- Note: If you receive an error like the following, when adding the repository:
Problem encountered while trying to read the file at the specified URI:
ABORT request: Aborting requested by user
History:
- Download (curl) error for 'https://download.opensuse.org/repositories/science/openSUSE_Leap_15.5/science.repo':
Error code: Curl error 60
Error message: SSL certificate problem: unable to get local issuer certificate
then execute the following two commands as root:ln -s /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT /etc/pki/trust/anchors/RHN-ORG-TRUSTED-SSL-CERT.pem
/usr/sbin/update-ca-certificates
- Execute the following commands in sequence (as root):
- If you prefer to use the source code and compile it yourself, follow the installation instruction to install OpenFOAM from source code reported here.
- To use RPM packages:
- Verify the functionality of OpenFOAM by invoking the command:
icoFoam -help
- Verify the functionality of wmake by invoking it:
wmake
- Create a directory called OpenQBMM (or OpenQBMM-dev for the development version)
- Open a terminal in that directory
- Use the command
git clone https://github.com/OpenQBMM/OpenQBMM.git
- Optional: If the development version is desired, checkout the development branch:
git checkout -b development origin/development-openfoam.com
- Build OpenQBMM by running the following command in the OpenQBMM directory:
./Allwmake -j
This will generate the binaries of OpenQBMM. Functionality can be tested by running, for example, pbeFoam validation cases.