Changes
Page history
Update build_linux
authored
Nov 25, 2025
by
Adrien Crovato
Show whitespace changes
Inline
Side-by-side
build_linux.md
View page @
bfc29458
...
@@ -9,9 +9,11 @@ sudo apt install git
...
@@ -9,9 +9,11 @@ sudo apt install git
sudo
apt
install
build-essential cmake
sudo
apt
install
build-essential cmake
sudo
apt
install
swig
sudo
apt
install
swig
sudo
apt
install
libeigen3-dev
sudo
apt
install
libeigen3-dev
sudo
apt
install
gmsh
# Python 3
# Python 3
sudo
apt
install
python3-dev python3-numpy python3-scipy
sudo
apt
install
python3-dev
python3
-m
pip
install
numpy scipy matplotlib voluptuous
# Gmsh
python3
-m
pip
install
gmsh
```
```
**Optional packages**
**Optional packages**
```
bash
```
bash
...
@@ -20,29 +22,34 @@ git clone https://github.com/SciCompKL/CoDiPack.git
...
@@ -20,29 +22,34 @@ git clone https://github.com/SciCompKL/CoDiPack.git
export
INCLUDE
=
${
INCLUDE
}
:/path/to/codipack/include
export
INCLUDE
=
${
INCLUDE
}
:/path/to/codipack/include
# VTK
# VTK
sudo
apt
install
python3-vtk9
sudo
apt
install
python3-vtk9
python3
-m
pip
install
vtk
# Documentation
# Documentation
sudo
apt
install
doxygen
sudo
apt
install
doxygen graphviz
sudo
apt
install
graphviz
```
```
**Build**
**Build**
```
bash
```
bash
# Get the code
# Get the code
git lfs
install
# enable large file support
git lfs
install
# enable large file support
git clone git@gitlab.uliege.be:am-dept/sdpm.git
# ssh only
git clone git@gitlab.uliege.be:am-dept/sdpm.git
# ssh only
for developers
cd
sdpm
cd
sdpm
# Build
# Build
mkdir
build
&&
cd
build
mkdir
build
&&
cd
build
cmake ..
cmake ..
make
[
-j4
]
make
[
-j4
]
[
make
install
]
# to install
[
make dox]
# to build the documentation
[
make dox]
# to build the documentation
# Test
# Test
ctest
[
-E
exclude_pattern]
[
-R
include_pattern]
[
-j4
]
ctest
[
-E
exclude_pattern]
[
-R
include_pattern]
[
-j4
]
# Install
python3
-m
pip
install
.
[
--user
]
```
```
For a complete list of options, refer to the
[
build
](
Build
)
page.
For a complete list of options, refer to the
[
build
](
Build
)
page.
**Example**
**Example**
From the SDPM root directory,
From the SDPM root directory,
```
bash
```
bash
python run.py sdpm/tests/lann.py
python run.py sdpm/tests/lann.py
[
-v
]
[
--nogui
]
```
From anywhere, if the Python package has been installed,
```
bash
sdpm-run your_example.py
[
-v
]
[
--nogui
]
```
```
\ No newline at end of file