- General homepage: https://www.opengeosys.org/ogs-5
- Keyword documentation: https://ogs5-keywords.netlify.com
- Benchmarks: https://github.com/ufz/ogs5-benchmarks
- ogs-users mailing list
- Go to the GitHub release page
- Download the appropriate archive (
*.zip
for Windows,*.tar.gz
for Linux,*.dmg
for macOS) and unpack it - You will find the
ogs
-binary inside thebin
-folder - Optional: Download and unpack the Data Explorer for OGS-5 too
- Download and unpack benchmark files
- Install a compiler
- Win: Download and install Visual Studio Community 2017, during installation select the workload
Desktop Development with C++
, uncheck everything else - Linux: Install the following packages:
make
andbuild-essential
- macOS: Install Xcode from the AppStore and run the following in the command line:
xcode-select --install
- Win: Download and install Visual Studio Community 2017, during installation select the workload
- Install Git
- Install CMake
Get the source code either by downloading as a zip-file or with Git:
git clone https://github.com/ufz/ogs5.git
Then set-up a build directory, configure your build and compile the code:
cd [source-directory]
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release # Configures your build
cmake --build . --config Release # Compiles the code
- How to Build a CMake-Based Project, a nice overview how CMake works, contains also information for building with Visual Studio
- Running CMake describes various to run CMake also from a GUI and how to set configuration options
- Git tutorial and Git FAQs
Open a command prompt and run the following:
cd [benchmark-directory] # e.g. ogs5-benchmarks-master/H/Theis/GWF_Theis_2D
[path-to-ogs-exe-folder]/ogs [benchmark name] # e.g. ../../build/bin/ogs GWF_Theis_2d
To implement new features, every developer
- forks this repository to have their own repo
- creates a branch from master and implement their stuff
- pushes the local branch to its GitHub repository
- makes a pull request from its GitHub repository to the
master
branch in theufz/ogs5
repository