Commit d561bd2c authored by Fabian's avatar Fabian
Browse files

Update dependency of CMake version (2.8 -> 3.0.1 (3.0.0 already for EthGenericGrid)

parent c0e76094
# Taken from NumPDE16 course and adjusted for personal needs
project(BacherlorsThesis)
# Require at least cmake version 2.8
cmake_minimum_required(VERSION 2.8)
# Require at least cmake version 3.0.1
cmake_minimum_required(VERSION 3.0.1)
# TODO some unit tests may be nice
......
......@@ -5,7 +5,7 @@
The following programs should be available:
- GNU C compiler (for full functionality)
- boost (Betl2 dependency)
- CMake (for compilation)
- CMake (for compilation, version 3.0.1 or higher)
- Python3 (used for plotting)
- Matplotlib (used for plotting)
......@@ -64,8 +64,22 @@ Warning: The benchmarking runs signifcantly longer than the validation.
## On downloading it
You need access to Betl2. In this specific case, the submodule of NumPDE16 was
used. Even if you have access, you may encounter errors with gitlab not asking
for authentication. It worked for me after changing the file `Betl2/.gitmodules`
to use https and also in `.git/modules/Betl2/config`.
for authentication when using HTTPS. These I have been able to avoid when
installing the repository as follows (`->` indicate changes that have to be made):
```
git clone https://gitlab.ethz.ch/hifabian/Code_DofHandler.git
vim .gitmodules
url = https://gitlab.math.ethz.ch/NumPDE/Betl2.git
-> url = https://<username>@gitlab.math.ethz.ch/NumPDE/Betl2.git
git submodule init
git submodule update
cd Belt2 && vim .gitmodules
url = git@gitlab.math.ethz.ch:betl2/EthGenericGrid.git
-> url = https://<username>@gitlab.math.ethz.ch/NumPDE/EthGenericGrid.git
git submodule init
git submodule update
```
If you have Betl2 but do not get the submodules working, you should be able to
just copy a Betl2 folder into `/Code_Dofhandler/` and it should work. However,
......
Supports Markdown
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