Installation on openSUSE Leap


Installing OpenQBMM on openSUSE Leap can be done leveraging the packaged version of OpenFOAM for openSUSE Leap. The steps to follow are the following:

  1. 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 certificatethen 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
    • If you prefer to use the source code and compile it yourself, follow the installation instruction to install OpenFOAM from source code reported here.
  2. Verify the functionality of OpenFOAM by invoking the command:
    • icoFoam -help
  3. Verify the functionality of wmake by invoking it:
    • wmake
  4. Create a directory called OpenQBMM (or OpenQBMM-dev for the development version)
  5. Open a terminal in that directory
  6. Use the command
    • git clone https://github.com/OpenQBMM/OpenQBMM.git
  7. Optional: If the development version is desired, checkout the development branch:
    • git checkout -b development origin/development-openfoam.com
  8. 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.