Ubuntu - gcc
If numgeo is used in combination with gcc the installation steps are different for Ubuntu 20.04 and Ubuntu 22.04. Make sure to follow the steps in the respective section.
Windows WSL
If Ubuntu is installed via WSL on Windows, the steps are the same as for a "native" Ubuntu installation.
numgeo uses a collection of third party libraries:
- gcc: https://gcc.gnu.org/
- gfortran: https://gcc.gnu.org/wiki/GFortran
- MUMPS: MUltifrontal Massively Parallel sparse direct Solver, https://mumps-solver.org/index.php.
- SCOTCH (partitioning): The SCOTCH distribution is a set of programs and libraries used by the solver MUMPS which implement the static mapping and sparse matrix reordering algorithms. https://www.labri.fr/perso/pelegrin/scotch/
- OpenBlas: Optimized BLAS library based on GotoBLAS2 1.13 BSD version. https://www.openblas.net/
Depending on the version of Ubuntu the versions of these third party libraries changes as well.
MUMPS
The MUMPS library is already included in the numgeo executable and does not need to be installed.
Install dependencies
To install the required third party packages
- Open the terminal
-
Install dependencies
-
Method 1: Enter the following lines of code line by line
sudo apt-get install build-essentials -y
sudo apt-get install gfortran -y
sudo apt-get install gdb -y
-
Ubuntu 20.04:
sudo apt-get install libscotch-6.0 -y
-
Ubuntu 22.04:
sudo apt-get install libscotch-6.1 -y
sudo apt-get install libscotchmetis-dev -y
sudo apt-get install libopenblas-serial-dev -y
-
-
Method 2: Download this one of the following shell scripts, open the terminal in the directory where the script is located and run it:
-