Commit ceb8bcfe authored by Katharina Heck's avatar Katharina Heck

[UpdateScriptVersion] update installation.sh and readme to common version

parent f0b70ce4
......@@ -29,6 +29,37 @@ module. For building and running the executables, please go to the folders
containing the sources listed above.
Installation
============
You can build the module just like any other DUNE
module. For building and running the executables, please go to the folders
containing the sources listed above. For the basic
dependencies see dune-project.org.
The easiest way is to use the `installRoll2015a.sh` in this folder.
You might want to look at it before execution [here](https://git.iws.uni-stuttgart.de/dumux-pub/Roll2015a/raw/master/installRoll2015a.sh). Create a new folder containing the script and execute it.
You can copy the following to a terminal:
```bash
mkdir -p Roll2015a && cdRoll2015a
wget -q https://git.iws.uni-stuttgart.de/dumux-pub/Roll2015a/raw/master/installHRoll2015a.sh
chmod +x installRoll2015a.sh && ./installRoll2015a
```
It will install this module will take care of most dependencies.
For the basic dependencies see dune-project.org and at the end of this README.
Application
---------------
Once built please find the executables in the folder
`Roll2015a/build-cmake/:
- appl/sagd/sagd.cc
- appl/sagdLab/sagdLab.cc
- appl/sagdCyclic/sagdCyclic.cc
- appl/sagdLabCyclic/sagdLabCyclic.cc
- appl/sagdCyclicHyst/sagdCyclicHyst.cc
- appl/sagdLabCyclicHyst/sagdLabCyclicHyst.cc
Used Version
--------------------
When this module was created, the original module /temp/stefanr/dumux/dumux-devel was using
......
#!/bin/sh
### Create a folder for the dune and dumux modules
### Go into the folder and execute this script
if [ -d dune-common ]; then
echo "error: A directory named dune-common already exists."
echo "Aborting."
exit 1
fi
### Clone the necessary modules
git clone https://gitlab.dune-project.org/core/dune-common.git
git clone https://gitlab.dune-project.org/core/dune-geometry.git
git clone https://gitlab.dune-project.org/core/dune-grid.git
git clone https://gitlab.dune-project.org/core/dune-istl.git
git clone https://gitlab.dune-project.org/core/dune-localfunctions.git
git clone https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
git clone https://git.iws.uni-stuttgart.de/dumux-pub/Roll2015a.git
### Go to specific branches
cd dune-common && git checkout releases/2.4 && cd ..
cd dune-geometry && git checkout releases/2.4 && cd ..
cd dune-grid && git checkout releases/2.4 && cd ..
cd dune-istl && git checkout releases/2.4 && cd ..
cd dune-localfunctions && git checkout releases/2.4 && cd ..
cd dumux && git checkout releases/2.8 && cd ..
### Go to specific versions
cd dune-common && git checkout fa6bc4af59352430cb05cdb488cbe3ae18dd9547 && cd ..
cd dune-geometry && git checkout ac1fca4ff249ccdc7fb035fa069853d84b93fb73 && cd ..
cd dune-grid && git checkout a2c9bf8c0f0fef025325e059a45b7744225df0d7 && cd ..
cd dune-istl && git checkout 8e13380949417233b1515c8610cb24950382c090 && cd ..
cd dune-localfunctions && git checkout b3a11b4a446ddafc31d51bd6695b8a8a6a1ba30a && cd ..
./dune-common/bin/dunecontrol --opts=dumux/optim.opts all
\ No newline at end of file
cd ..
# the required dune core moduls
git clone -b releases/2.4 https://gitlab.dune-project.org/core/dune-common.git
git clone -b releases/2.4 https://gitlab.dune-project.org/core/dune-geometry.git
git clone -b releases/2.4 https://gitlab.dune-project.org/core/dune-grid.git
git clone -b releases/2.4 https://gitlab.dune-project.org/core/dune-istl.git
git clone -b releases/2.4 https://gitlab.dune-project.org/core/dune-localfunctions.git
#dumux
git clone -b releases/2.8 https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
./dune-common/bin/dunecontrol --opts=dumux/optim.opts all
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