-
Soeren Peters authoredSoeren Peters authored
readme_gpu.md 1.99 KiB
Software Requirements:
CMake cmake.org:
- minimum version 3.13
CUDA developer.nvidia.com/cuda-zone:
- Minimum CUDA Version 9.0
- Minimum Compute Capability 3.0, because of maximal number of Blocks in x direction
- Recommended Compute Capability 6.0, because of atomics for double precision floating point data (GKS only)
Paraview www.paraview.org:
- any version, for example the most recent
C++ Compiler:
- with C++11 support, for example gcc6.3 or Visual C++ 14.0
How to get VirtualFluidsGPU:
Option 1: use git
- checkout out https://git.irmb.bau.tu-bs.de/VirtualFluids/VirtualFluidsGPU.git with your credentials
Option 2: without git
- go to git.irmb.tu-bs.de
- Log in with your credentials
- click on VirtualFluids/VirtualFluidsGPU
- click on the download symbol on the top right and download zip/tar.gz file
How to build VirtualFluidsGPU:
- CMake the project
- set the output path in targets/apps/LidDrivenCavity/LidDrivenCavity.cpp
- build the project ("compile")
- run the generated executable (usually in /bin/)
Known Issues:
If CMake does not find CUDA_CUT_INCLUDE_DIR use and set the correct CUDA Pathes in CMakeLists.txt in the base directory in lines 35, 36.
VirtualFluidsGPU results files:
VirtualFluidsGPU generates a the time series of output files directly in the output path. In Paraview these time series can be read directly.
VirtualFluidsGPU change between Double and Single Precision:
Option 1:
- go to CMakeLists.txt in the base directory
- go to line 83 to switch ON/OFF VF_DOUBLE_ACCURACY
Option 2: Check/uncheck the item VF_DOUBLE_ACCURACY in CMake.
Documentation:
The doxygen generated documentation can be found here.