Skip to content

Instantly share code, notes, and snippets.

@BinWang0213
Last active November 18, 2020 14:27
Show Gist options
  • Save BinWang0213/04c5a9fc4a5a9963b07fa1d63f612244 to your computer and use it in GitHub Desktop.
Save BinWang0213/04c5a9fc4a5a9963b07fa1d63f612244 to your computer and use it in GitHub Desktop.
Docker opengeosys usage

Install opengeosys in Docker

Install opengeosys and setup linux environment

#Download build system
docker run --shm-size=1g -ti --name ogs6 -v F:/ogs/:/home ogs6/gcc


#Download and build ogs
git clone --filter=blob:limit=100k -b 6.3.2 https://gitlab.opengeosys.org/ogs/ogs.git
cd ogs
mkdir build-release
cd uild-release
cmake ../ogs
make -j 8
sudo make install

Run opengeosys

Download a test case folder @ https://gitlab.opengeosys.org/ogs/ogs/-/tree/master/Tests/Data/HydroMechanics

#Testing a example
cd ../examples/HydroMechanics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment