*.zip
for Windows, *.tar.gz
for Linux, *.dmg
for macOS) and unpack itogs
-binary inside the bin
-folderDesktop Development with C++
, uncheck everything elsemake
and build-essential
xcode-select --install
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
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
master
branch in the ufz/ogs5
repository