Commit 08093cc7 authored by Praetorius, Simon's avatar Praetorius, Simon

updated the first slide

parent 10fe6b95
......@@ -312,7 +312,7 @@ int main(int argc, char** argv)
# Compile and run the AMDiS program
### CMake configuration
### 1. Create a CMake configuration
File `DIR/CMakeLists.txt`
```cmake
project("workshop")
......@@ -321,10 +321,10 @@ add_executable("poisson" src/poisson.cc)
target_link_libraries("poisson" AMDiS)
```
- CMake requires variable `AMDIS_DIR` to point to directory that contains the file `AMDISConfig.cmake`. This
is set automatically in Docker container.
- CMake requires variable `AMDIS_DIR` to point to directory that contains the file `AMDISConfig.cmake`. (This
is set already in the Docker container.)
### Compile
### 2. Compile
```
cd DIR
mkdir build && cd build # out-of-source build
......@@ -364,7 +364,7 @@ Scanning dependencies of target poisson
---
### Run an AMDiS program
### 3. Run the AMDiS program
```
cd DIR
./build/poisson INIT-FILE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment