Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
amdis_workshop_16
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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)
...
@@ -312,7 +312,7 @@ int main(int argc, char** argv)
# Compile and run the AMDiS program
# Compile and run the AMDiS program
### CMake configuration
###
1. Create a
CMake configuration
File `DIR/CMakeLists.txt`
File `DIR/CMakeLists.txt`
```cmake
```cmake
project("workshop")
project("workshop")
...
@@ -321,10 +321,10 @@ add_executable("poisson" src/poisson.cc)
...
@@ -321,10 +321,10 @@ add_executable("poisson" src/poisson.cc)
target_link_libraries("poisson" AMDiS)
target_link_libraries("poisson" AMDiS)
```
```
- CMake requires variable `AMDIS_DIR` to point to directory that contains the file `AMDISConfig.cmake`. This
- CMake requires variable `AMDIS_DIR` to point to directory that contains the file `AMDISConfig.cmake`.
(
This
is set a
utomatically in Docker container.
is set a
lready in the Docker container.)
### Compile
###
2.
Compile
```
```
cd DIR
cd DIR
mkdir build
&&
cd build # out-of-source build
mkdir build
&&
cd build # out-of-source build
...
@@ -364,7 +364,7 @@ Scanning dependencies of target poisson
...
@@ -364,7 +364,7 @@ Scanning dependencies of target poisson
---
---
###
Run an
AMDiS program
###
3. Run the
AMDiS program
```
```
cd DIR
cd DIR
./build/poisson INIT-FILE
./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