Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Praetorius, Simon
amdis_workshop_16
Commits
08093cc7
Commit
08093cc7
authored
Nov 30, 2018
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the first slide
parent
10fe6b95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
01_scalar_equations.html
01_scalar_equations.html
+5
-5
No files found.
01_scalar_equations.html
View file @
08093cc7
...
...
@@ -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 a
utomatically in
Docker container.
- CMake requires variable `AMDIS_DIR` to point to directory that contains the file `AMDISConfig.cmake`.
(
This
is set a
lready 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment