Changes
Page history
Create build_linux
authored
Apr 06, 2023
by
Adrien Crovato
Show whitespace changes
Inline
Side-by-side
build_linux.md
0 → 100644
View page @
d433a339
## Linux
Note that these build instructions are using the GNU compilers but Intel's compiler can be used as well.
**Required packages**
```
bash
# Common
sudo
apt update
sudo
apt
install
git
sudo
apt
install
build-essential cmake
sudo
apt
install
swig
sudo
apt
install
libeigen3-dev
sudo
apt
install
gmsh
# Python 3
sudo
apt
install
python3-dev python3-numpy python3-vtk9
```
**Optional packages**
```
bash
# Documentation
sudo
apt
install
doxygen
sudo
apt
install
graphviz
```
**Build**
```
bash
# Get the code
git lfs
install
# enable large file support
git clone git@gitlab.uliege.be:am-dept/sdpm.git
# ssh only
cd
sdpm
# Build
mkdir
build
&&
cd
build
cmake ..
make
[
-j4
]
[
make
install
]
# to install
[
make dox]
# to build the documentation
# Test
ctest
[
-E
exclude_pattern]
[
-R
include_pattern]
[
-j4
]
```
For a complete list of options, refer to the
[
build
](
Build
)
page.
**Example**
From the SDPM root directory,
```
bash
python run.py sdpm/tests/lann.py
[
-k4
]
[
--nogui
]
```
\ No newline at end of file